-
Notifications
You must be signed in to change notification settings - Fork 70
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
wasm-pack cannot be launched #56
Comments
The plugin depends on wasm-pack, did you install it? see https://rustwasm.github.io/wasm-pack/installer/. It's not explicit in our README, would you mind doing a PR? |
Thanks for the response. As I said, |
Indeed, sorry. The plugin also uses spawn https://github.com/wasm-tool/wasm-pack-plugin/blob/master/plugin.js#L117, I'm wondering if we add
in the options here https://github.com/wasm-tool/wasm-pack-plugin/blob/master/plugin.js#L108 if it would work, could you please try that? |
Actually my cwd didn't exist. The problem was a misleading error message: nodejs/node#11520 So a better error message in this plugin would be helpful here. |
When including the plugin like this:
It always fails with:
Even though I have
wasm-pack
in$PATH
and can launch it from the command line.I can even launch it right before adding the plugin like this:
what could be wrong?
The text was updated successfully, but these errors were encountered: