jetli / create-yew-app

Set up a modern Yew web app by running one command.
https://jetli.github.io/create-yew-app/
Apache License 2.0
164 stars 13 forks source link

Error: ENOENT: no such file or directory, open '/tmp/my-app/pkg/yew_app_bg.js' #10

Closed EvanCarroll closed 4 years ago

EvanCarroll commented 4 years ago
npm run build

> yew-app@0.1.0 build /tmp/my-app
> WASM_PACK_PROFILE=release parcel build static/index.html --public-url ./

🚨  /tmp/my-app/Cargo.toml: ENOENT: no such file or directory, open '/tmp/my-app/pkg/yew_app_bg.js'
Error: ENOENT: no such file or directory, open '/tmp/my-app/pkg/yew_app_bg.js'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! yew-app@0.1.0 build: `WASM_PACK_PROFILE=release parcel build static/index.html --public-url ./`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the yew-app@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ecarroll/.npm/_logs/2020-06-24T03_02_24_338Z-debug.log