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
When attempting to build my application using wasm-pack build -t no-modules --no-typescript I receive the following error:
error: cannot import from modules (`env`) with `--no-modules`
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit status: 1
I did some digging, and it looks like the problem was caused by a dependency that was added after 0.2.0
I removed the dependency and I'm now able to build with the --no-modules option, I hope this will solve the problem for you as well.
The fix is included in the new release 0.3.0 that has just been published.
When attempting to build my application using
wasm-pack build -t no-modules --no-typescript
I receive the following error:This appears to be related to rust-lang/rust#93557
If I use
v0.2.0
of your library the error goes away however attempting to use the latest ref causes the error.The text was updated successfully, but these errors were encountered: