rustpad icon indicating copy to clipboard operation
rustpad copied to clipboard

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

Open jvasile opened this issue 1 year ago • 0 comments

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.

jvasile avatar Mar 26 '24 03:03 jvasile