Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL constructor: rustpad_wasm_bg.wasm is not a valid URL. #72

Open
jvasile opened this issue Mar 26, 2024 · 0 comments
Open

URL constructor: rustpad_wasm_bg.wasm is not a valid URL. #72

jvasile opened this issue Mar 26, 2024 · 0 comments

Comments

@jvasile
Copy link

jvasile commented Mar 26, 2024

Did a fresh clone, then:

wasm-pack build --target web rustpad-wasm
npm install
cargo run
npm run dev

At localhost:3000, I see the following error on the web console:

Uncaught (in promise) TypeError: URL constructor: rustpad_wasm_bg.wasm is not a valid URL.
    init rustpad_wasm.js:406
    <anonymous> index.tsx:9
[rustpad_wasm.js:406:16](http://localhost:3000/node_modules/rustpad-wasm/rustpad_wasm.js)

Nothing is displayed in the browser tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant