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.

npm ERR! realm@1.2.0 install: node-pre-gyp install --fallback-to-build

See original GitHub issue

I am trying to install Realm for React Native. After running

npm install --save realm

I get the error:

731 warn react-static-container@1.0.1 requires a peer of react@^0.13.0 || ^0.14.0 || ^15.0.0 but none was installed.
2732 verbose stack Error: realm@1.2.0 install: `node-pre-gyp install --fallback-to-build`
2732 verbose stack spawn ENOENT
2732 verbose stack     at ChildProcess.<anonymous> (/Users/agerson/.nvm/versions/node/v4.8.2/lib/node_modules/npm/lib/utils/spawn.js:33:16)
2732 verbose stack     at emitTwo (events.js:87:13)
2732 verbose stack     at ChildProcess.emit (events.js:172:7)
2732 verbose stack     at maybeClose (internal/child_process.js:862:16)
2732 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:222:5)
2733 verbose pkgid realm@1.2.0
2734 verbose cwd /Users/agerson/Desktop/CGPSApp
2735 verbose Darwin 16.5.0
2736 verbose argv "/Users/agerson/.nvm/versions/node/v4.8.2/bin/node" "/Users/agerson/.nvm/versions/node/v4.8.2/bin/npm" "install" "--save" "realm"
2737 verbose node v4.8.2
2738 verbose npm  v4.5.0
2739 error file sh
2740 error code ELIFECYCLE
2741 error errno ENOENT
2742 error syscall spawn
2743 error realm@1.2.0 install: `node-pre-gyp install --fallback-to-build`
2743 error spawn ENOENT
2744 error Failed at the realm@1.2.0 install script 'node-pre-gyp install --fallback-to-build'.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
chellongCodercommented, Apr 2, 2018

hi, I installed node-pre-gyp but i still get error node-pre-gyp install --fallback-to-build 😦(

0reactions
bmunkholmcommented, Jun 4, 2019

Please don’t keep commenting on closed issues but create a new issue with all relevant details to reproduce the problem. Thanks!

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 ...
Try the following step by step,. Install the older version in the project folder npm install --save realm@0.14.3.
Read more >
`node-pre-gyp install --fallback-to-build` · Issue #2183 · realm ...
Hi, I am unable to install realm, getting below error. Is my version combination is not yet supported ? $ node -v v11.5.0...
Read more >
canvas - npm
node -canvas is a Cairo-backed Canvas implementation for Node.js. Installation. $ npm install canvas. By default, binaries for macOS, Linux and ...
Read more >
npm install报错node-pre-gyp install --fallback-to-build
(Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated bcrypt@1.0.3: bcrypt < v2.0.0 is susceptible to bcrypt...
Read more >
How to fix an issue installing Node `canvas` on macOS
How to fix a node-pre-gyp install issue installing the Node.js canvas library ... npm ERR! command sh -c node-pre-gyp install --fallback-to-build npm 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