Installing realm 3.1.0 fails during node-pre-gyp install --fallback-to-build
See original GitHub issueI’ve tried installing this on Windows, Ubuntu and MacOS. All fail with the same error.
$ npm install
> realm@3.1.0 install C:\Workspaces\ThreadLearning\thread-rest\node_modules\realm
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp ERR! Completion callback never invoked!
node-pre-gyp ERR! System Windows_NT 10.0.17134
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Workspaces\\ThreadLearning\\thread-rest\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Workspaces\ThreadLearning\thread-rest\node_modules\realm
node-pre-gyp ERR! node -v v10.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.13.0
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:17 (2 by maintainers)
Top Results From Across the Web
npm ERR! Failed at the realm@1.2.0 install script 'node-pre ...
I am using node version 7.5.0 and npm version 4.5.0. I have the node-pre-gyp package. What is going on?!
Read more >falling back to source compile with node-gyp - You.com
node-pre-gyp install --fallback-to-build - Stack Overflow ... Here is the error message at the end of installation: npm ERR!
Read more >Install realm 5.0.3 on react native 0.62.0 - MongoDB
i want install realm 5.0.3 on react native 0.62.0 but i catch this error ... 'aws-sdk' in 'D:\code\react\t8\node_modules\node-pre-gyp\lib'.
Read more >Getting an error when I run npm install - to set u...
I am facing an issue with step 4 - 3. as below - while installing npm. ... Iam getting the following error. ......
Read more >Native Compilation failing for NPM Package - Technical Support
I followed this post to have the nodejs and npm setup on Linux. ... node-pre-gyp install --fallback-to-build node-pre-gyp ERR!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Node v12 is not supported by Realm v3.x as mentioned here: https://github.com/realm/realm-js/issues/2880#issuecomment-628665377
As @markwolff mentioned in mapbox/node-pre-gyp/issues/477
not ideal but a workaround is to manually add "node-pre-gyp": "0.12.0" as a devDev to your package.json
worked for me