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

npm install fails on M1 Mac #642

Closed
honteng opened this issue Jun 29, 2022 · 2 comments
Closed

npm install fails on M1 Mac #642

honteng opened this issue Jun 29, 2022 · 2 comments

Comments

@honteng
Copy link

honteng commented Jun 29, 2022

Running npm install fails as follows

➜ npm i
npm ERR! code 1
npm ERR! path /Users/honten/workspace/github.com/icestudio/node_modules/nw
npm ERR! command failed
npm ERR! command sh -c /var/folders/f1/n_pgdrbn50nb5j1_w73lfzdr0000gn/T/postinstall-1656480775273.sh
npm ERR! Response code 404 (Not Found)

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/honten/.npm/_logs/2022-06-29T05_32_49_457Z-debug-0.log

To resolve issue, we need to add npm_config_nwjs_process_arch=x64 options as follows

npm_config_nwjs_process_arch=x64 npm i

I guess we should update README.md. If you want me to do so, I can create PR. Or can you update the doc?

@cavearr
Copy link
Member

cavearr commented Jul 5, 2022

Hi @honteng !, Make a PR! other option is use terminal with Roseta .

@cavearr
Copy link
Member

cavearr commented Feb 5, 2024

Hi! i'm added osx arm 64 native support, you could donwload from https://downloads.icestudio.io or clone the repository in dev branch.

Thanks!!

@cavearr cavearr closed this as completed Feb 5, 2024
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

2 participants