question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing realm 3.1.0 fails during node-pre-gyp install --fallback-to-build

See original GitHub issue

I’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:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
andrekovaccommented, Aug 3, 2020

Node v12 is not supported by Realm v3.x as mentioned here: https://github.com/realm/realm-js/issues/2880#issuecomment-628665377

3reactions
weslley39commented, Sep 24, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found