-
-
Notifications
You must be signed in to change notification settings - Fork 581
wasm-pack causes an npm install issue on m1 mac's #396
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
Comments
Closed since it was merged in #394 |
Although we moved it to an optional dependency in Graphite, it still requires manual work to install wasm-pack directly. I'd suggest we keep this open until it's fixed directly in the wasm-pack project. |
wasm-pack 0.10.2 fixed this issue, but it's broken on Windows. So we're waiting on a fixed version before upgrading. A PR is open for that fix: rustwasm/wasm-pack#1144 |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wasm-pack is a necessary tool in order to build the web assembly that graphite is using however the npm package is just a shim to make sure it is installed on your system. This shim does not support the arm 64 package, however, installing directly using cargo works fine. Here is a link to the GitHub issue: rustwasm/wasm-pack#952. To solve this in the meantime it makes sense to move wasm-pack to an optional dependency so that it does not break the build for those on m1 compters.
The text was updated successfully, but these errors were encountered: