-
Notifications
You must be signed in to change notification settings - Fork 31
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
Cannot install on mac m1 #3253
Comments
Thanks for the bug report! We are aware of this issue with NW. There is already an open PR, that they need to merge to fix this issue. |
We do not support Silicon chips in our NWJS builds yet. Please add the correct platform to our platform list. https://github.com/MaibornWolff/codecharta/blob/main/visualization/script/build-nwjs.js Update platforms from: |
To include an arm build we need to switch to the next major version of nw-builder. |
Electron suppports arm64. We can also think about switching to electron.. |
@xndlnk With new release of version |
Bug
Expected Behavior
WHEN
I install the Desktop Visualization via
npm i codecharta-visualization
locallyTHEN
the application should install
Actual Behavior
I get the error message:
npm ERR! code 1
npm ERR! path /Users/xxx/Projects/toys/codecharta/node_modules/codecharta-visualization/node_modules/nw
npm ERR! command failed
npm ERR! command sh -c -- node scripts/install.js
npm ERR! Response code 404 (Not Found)
Steps to Reproduce the Problem
npm i codecharta-visualization
Specifications
Workaround
./visualization
npm i
the same error from above occursnpm_config_nwjs_process_arch=x64 npm install nw
as described here Install nw fails on mac Apple Silicon nwjs/npm-installer#83npm i
and installation succeedsMaybe this helps to find a solution.
The text was updated successfully, but these errors were encountered: