-
Notifications
You must be signed in to change notification settings - Fork 577
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
Support Node 10. WAS: Realm fails to install via yarn or npm, with the error Failed to execute 'node-gyp build --fallback-to-build --module=[hidden_path]/node_modules/realm/compiled/node-v64_darwin_x64/realm.node -- #1813
Comments
I am also having the same issue while installing the module. |
We don't support node version 10 yet. |
Thanks, have downgraded to node 9.8.0 for now. |
We have done the initial work on it, but some of the node-js' C++ APIs have changed, and NaN has been updated. We plan to return to it soon. |
I'm also have same issue and switch from node v.10.1.0 to v9.0.0 and it's working now. Guys when you plan to update to v10+? |
Once NaN is stabilized (API wise), we plan to return to it. I hope to include it in a release in June. |
I have investigated it a bit more. It is not Nan nor LZMA (at least 3.0.8 supports - |
@edmofro How do you downgrade node to 9.8.0? I cannot figure out how to downgrade my build machine to: I tried:
Never mind. I ended up using npm instead of homebrew:
|
Check out https://www.npmjs.com/package/n |
I am on node 10 right now and I still cannot install Realm. Has someone dealt with this issue? |
The issue is still open which indicates that it has not been resolved yet. Once we release a node 10 compatible version, we'll report here and close the issue. |
try |
the issue is actual also with: on CentOS |
I also just stumbled on this problem when trying to add realm to a react-native app and having node 10 installed on my machine. Downgrading to 9.11.2 solved it for me. It took me quite a while to figure out what was going wrong and fix this. It would make sense to mention that node 10 is not supported in the official documents at https://realm.io/docs/javascript/latest/ so others don't run into the same problem. |
@tigranbalayan @jaltin @rogerkerse @edmofro @esutton @mnlbox @Paradox-AT @renalpraba I have released v2.19.0-rc.5 which adds support for node 10. The plan is to do a v2.19.0 release later this week. |
On node 11 having same issue |
@fisherwise We haven't added support for node 11 yet. Please create an issue for it. |
on node 11 i can't install realm,what should i do?use low node version? |
on node 10 i can use it. |
Node |
how di you downgraded node in macbook ? |
Try n or nvm. |
if you use node version 11 try this
|
You guys could also try NVM. It is pretty simple, and allows you to install and use multiple versions of node. |
It means that the version of Realm you are requesting for is not yet supported either due to your nodejs version or the architecture of your machine. However you can include additional options to your command to install available ones. From DOCs as found here:
|
Goals
Use yarn or npm to install realm
Expected Results
Installs correctly
Actual Results
404 on https://static.realm.io/node-pre-gyp/2.3.2/realm-v2.3.2-node-v64-darwin-x64.tar.gz which causes install to fail
Version of Realm and Tooling
The text was updated successfully, but these errors were encountered: