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.

Unable to install react-native-queue (node-pre-gyp install --fallback-to-build)

See original GitHub issue

Goals

Am trying to build sample background task application. successfully installed ‘react-native-background-fetch’ and ‘react-native-background-task’ and linked too. But am unable to the library ‘react-native-queue’.

Expected Result

Successful installation of the library -> react-native-queue

Actual Results

installation failed. with error-> ack Error: Failed to execute ‘node-gyp.cmd configure --fallback-to-build --module=C:\Users\aithashi\Sample-native\backgroundexmp\node_modules\realm\compiled\node-v51_win32_x64\realm.node --module_name=realm --module_path=C:\Users\aithashi\Sample-native\backgroundexmp\node_modules\realm\compiled\node-v51_win32_x64’ (1)

npm ERR! realm@2.3.1 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the realm@2.3.1 install script ‘node-pre-gyp install --fallback-to-build’. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the realm package, npm ERR! not with npm itself.

Steps to Reproduce

installing the package ‘npm i react-native-queue’ is not installing. Showing : npm ERR! realm@2.3.1 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1

Code Sample

npm WARN errno: -4048, npm WARN code: ‘EPERM’, npm WARN syscall: ‘scandir’,

Version of Realm and Tooling

"react": "16.3.0-alpha.1",
"react-native": "0.54.2",
  • Client OS & Version: windows 10
  • Which debugger for React Native: None

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
knethcommented, Sep 20, 2018

@thecryptovalley We don’t support node 10 yet 😦. Please use an other version of node.

0reactions
rocana95commented, Jun 29, 2020

Same thing with me “react-native”: “0.61.5” node v12.14.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

`node-pre-gyp install --fallback-to-build` failed during MeanJS ...
i have tried upgrading node-gyp: sudo npm install -g node-gyp. It worked for me. I find the solution here, I hope it can...
Read more >
Npm install command failing with message "could not find ...
I was following the project setup. When I run the npm install command, npm starts downloading the dependencies. But then, suddenly, it stops ......
Read more >
`node-pre-gyp install --fallback-to-build` on Linux - YouTube
How to install bcrypt on Windows and Linux The steps are as follows : Install stable version of node withsudo npm cache clean...
Read more >
Getting a lot of errors when running npm install - Treehouse
When running npm install, it gets to a certain point in the process where it ... /d /s /c node-pre-gyp install --fallback-to-build npm...
Read more >
mbt build failure : npm ERR! `node-pre-gyp install --fallback-to ...
npm ERR! sqlite3@5.0.1 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 Running it on the SAP Business Application ...
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