-
Notifications
You must be signed in to change notification settings - Fork 585
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 crashing with sh: cmake-js: command not found #3670
Comments
➤ Paolo Manna commented: Reproduced with a regular Intel MacBook Pro Cleaning Code is available at https://github.com/mongodb/realm-practice [^2021-03-31T09_54_09_721Z-debug.log] [^2021-03-31T10_13_52_971Z-debug.log] [^2021-03-31T10_50_13_434Z-debug.log] |
@Tadejo9 Thank you for reporting. I can reproduce the error using node v15.12.0 while I can install node v14.15.1 without any issues. We need to investigate why our usage of As a workaround, I suggest that you downgrade to node v14.x. |
Will downgrade and report back. |
It works on M1 mac also. |
I have the same error on: my M1 Output: |
@CodingByJerez It seems you are using node 15.13.0 I suggest you follow this article and downgrade to node 14.x as @kneth suggested above. |
@Tadejo9 I managed to make it work with the version node 15.13.0 |
Same problem using node v14.16.0 |
We don't produce binary packages for M1 yet. |
Which CPU architecture and operating system? |
Same error here when installing node dependencies in a React Native (v0.64.0) Project on mac (on Windows the same project works well). Node version: 14.15.0. My mac is a Macbook pro 2015. |
@BravenxX I am not able to reproduce it using node 14.15.0, React Native 0.64.0 and Realm JavaScript 10.4.0 on my Macbook Pro (2019). |
So you guys just aren't going to support those on M1? @kneth or is this on your roadmap for sometime in the next 12-18 months? |
I followed the tut below to downgrade to node 14 and it worked on Mac M1 too. |
M1 is on our radar, and we hope to have progress soon. One challenge is to support both MacOS and iOS with the same XCode project (see also Xcode 12, building for iOS Simulator, but linking in object file built for iOS, for architecture arm64). We have been waiting for the (M1) dust to settle 😄 |
What's the current status? I still cannot install realm on M1 Pro, even though I tried various node versions (14 and 16) and other above-mentioned tips (install cmake via brew) and different realm versions (10.1.2, 10.2.0 and 10.19.x). |
@tomas-hartman we're currently experiencing an issue with an expired certificate, which has the same symptoms as this issue. Please try again tomorrow and everything should be fine 🙏 |
I experience this atm in github actions using ubuntu-latest, and node version 14. (its probably same problem due to expired certificate as mentioned above) |
Facing the same issue, [stderr] npm ERR! code 127 |
try clearing yarn cache and change network, some proxy might be blocking it |
Goals
Trying to install node modules for project.
Expected Results
Installed node modules.
Actual Results
I get the following error.
Here I provide log file referenced above.
Steps to Reproduce
Add realm to dependencies in package.json and configure it by the docs.
Version of Realm and Tooling
The text was updated successfully, but these errors were encountered: