You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to get to using Yarn Plug'n'Play we noticed that compiles of our javascript to WASM started to fail when running js-compute-runtime ./src/index.js ./bin/main.wasm.
» yarn build
Error: failed to open input file
Caused by:
Not a directory (os error 20)
Error: Failed to compile JavaScript to Wasm: Wizer initialization failure
I reproduced this using the empty compute javascript starter kit. The last commit which enables Yarn PNP has issues. The previous commits on setup to use yarn and yarn berry have no issues. https://github.com/jmccann/compute-starter-kit-javascript-empty
We are managing a edge compute repo using yarn. Right now we use yarn berry with
nodeLinker: node-modules
just fine.We want to get to using zero-install. To get there we need to use Yarn Plug'n'Play
.
While trying to get to using Yarn Plug'n'Play we noticed that compiles of our javascript to WASM started to fail when running
js-compute-runtime ./src/index.js ./bin/main.wasm
.I reproduced this using the empty compute javascript starter kit. The last commit which enables Yarn PNP has issues. The previous commits on setup to use yarn and yarn berry have no issues. https://github.com/jmccann/compute-starter-kit-javascript-empty
I was following the migration guide found at https://yarnpkg.com/getting-started/migration#switching-to-plugnplay
The text was updated successfully, but these errors were encountered: