-
Notifications
You must be signed in to change notification settings - Fork 31
npm install @wasm-tool/rollup-plugin-rust does not work on Apple Silicon (M1) #24
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Update: Here is a more detailed look about it: rust-lang/rust#90342 (comment) |
That sounds like a bug in wasm-pack, so it should be reported here: |
@MihailPertsev if you run @Pauan I'm not even sure that this package needs a dependency on the |
Yes, with this additional |
Not at all, it is using the local |
Ah indeed.. showing my lack of node understanding 😄 . I hadn't realized that node would look in `node_modules/.bin' when spawning a child process. |
To clarify, if you are using this plugin, then you do not need a global installation of wasm-pack, everything is automatically managed by the plugin without any fuss. Everything Just Works™, including version locking. The only time you would need to use the global installation of wasm-pack is because you want to use a custom build of wasm-pack. |
In version 2.0.0 we no longer use wasm-pack. Please try upgrading and then let me know if you're still having the same issue. |
Version 2 works seamlessly on mac |
@pauldorehill Thanks for letting me know, so I'll consider this issue as fixed. |
Errors log afte running
npm install @wasm-tool/rollup-plugin-rust
npm ERR! throw new Error(`Unsupported platform: ${type} ${arch}`); npm ERR! ^ npm ERR! npm ERR! Error: Unsupported platform: Darwin arm64
The text was updated successfully, but these errors were encountered: