Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation reports wasm-opt error #1

Open
asins opened this issue Nov 25, 2020 · 0 comments
Open

Compilation reports wasm-opt error #1

asins opened this issue Nov 25, 2020 · 0 comments

Comments

@asins
Copy link

asins commented Nov 25, 2020

I executed wasm-pack build directly in the project, but an error was reported. How can I handle this problem?

Fatal: error in validating input
Error: failed to execute `wasm-opt`: exited with exit code: 1
  full command: "/Users/asins/Library/Caches/.wasm-pack/wasm-opt-a528729925722b63/wasm-opt" "/Users/asins/Work/wasm-lib-wishlist/pkg/wasm_lib_wishlist_bg.wasm" "-o" "/Users/asins/Work/wasm-lib-wishlist/pkg/wasm_lib_wishlist_bg.wasm-opt.wasm" "-O"
To disable `wasm-opt`, add `wasm-opt = false` to your package metadata in your `Cargo.toml`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant