jetli / rust-yew-realworld-example-app

Exemplary real world app built with Rust + Yew + WebAssembly, by Function Components + Hooks, also supports desktop by Tauri.
https://jetli.github.io/rust-yew-realworld-example-app/
Apache License 2.0
855 stars 110 forks source link

ENOENT: no such file or directory, open '/usr/src/conduit-wasm/pkg/conduit_wasm_bg.js' #13

Closed karagraysen closed 4 years ago

karagraysen commented 4 years ago

Describe the bug When I run docker-compose up I get the following error:

conduit-wasm_1  | Server running at http://localhost:8000 
conduit-wasm_1  | ?  /usr/src/conduit-wasm/Cargo.toml: ENOENT: no such file or directory, open '/usr/src/conduit-wasm/pkg/conduit_wasm_bg.js'
conduit-wasm_1  | Error: ENOENT: no such file or directory, open '/usr/src/conduit-wasm/pkg/conduit_wasm_bg.js'
conduit-wasm_1  | Unexpected error while opening in browser: true
conduit-wasm_1  | Error: Exited with code 3
conduit-wasm_1  |     at ChildProcess.<anonymous> (/usr/src/conduit-wasm/node_modules/opn/index.js:85:13)
conduit-wasm_1  |     at Object.onceWrapper (events.js:422:26)
conduit-wasm_1  |     at ChildProcess.emit (events.js:315:20)
conduit-wasm_1  |     at maybeClose (internal/child_process.js:1021:16)
conduit-wasm_1  |     at Socket.<anonymous> (internal/child_process.js:443:11)
conduit-wasm_1  |     at Socket.emit (events.js:315:20)
conduit-wasm_1  |     at Pipe.<anonymous> (net.js:674:12)

Expected behavior It should build and show up on the webpage.

Desktop (please complete the following information):

EvanCarroll commented 4 years ago

Getting the same thing,

Server running at http://localhost:8000 
🚨  /tmp/rust-yew-realworld-example-app/crates/conduit-wasm/Cargo.toml: ENOENT: no such file or directory, open '/tmp/rust-yew-realworld-example-app/crates/conduit-wasm/pkg/conduit_wasm_bg.js'
Error: ENOENT: no such file or directory, open '/tmp/rust-yew-realworld-example-app/crates/conduit-wasm/pkg/conduit_wasm_bg.js'
cesmejia commented 4 years ago

Same here! Any update on this one?

karagraysen commented 4 years ago

Thanks, #14 fixed it for me.

EvanCarroll commented 4 years ago

Very excited to give this a shot! Thanks a ton Yew devs.