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.

Installation failed on Debian (3.2.0-4-amd64 #1 SMP Debian 3.2.82-1 x86_64 GNU/Linux)

See original GitHub issue

root@appserver:~# npm install -g node-inspector npm WARN lifecycle v8-debug@0.7.7~preinstall: cannot run in wd %s %s (wd=%s) v8-debug@0.7.7 node -e ‘process.exit(0)’ /root/.nvm/versions/node/v7.1.0/lib/node_modules/.staging/v8-debug-2eb2bec8 npm WARN lifecycle v8-profiler@5.6.5~preinstall: cannot run in wd %s %s (wd=%s) v8-profiler@5.6.5 node -e ‘process.exit(0)’ /root/.nvm/versions/node/v7.1.0/lib/node_modules/.staging/v8-profiler-ca0424c0 /root/.nvm/versions/node/v7.1.0/bin/node-inspector -> /root/.nvm/versions/node/v7.1.0/lib/node_modules/node-inspector/bin/inspector.js /root/.nvm/versions/node/v7.1.0/bin/node-debug -> /root/.nvm/versions/node/v7.1.0/lib/node_modules/node-inspector/bin/node-debug.js

v8-debug@0.7.7 install /root/.nvm/versions/node/v7.1.0/lib/node_modules/node-inspector/node_modules/v8-debug node-pre-gyp install --fallback-to-build

sh: 1: node-pre-gyp: Permission denied /root/.nvm/versions/node/v7.1.0/lib └── (empty)

npm ERR! Linux 3.2.0-4-amd64 npm ERR! argv “/root/.nvm/versions/node/v7.1.0/bin/node” “/root/.nvm/versions/node/v7.1.0/bin/npm” “install” “-g” “node-inspector” npm ERR! node v7.1.0 npm ERR! npm v3.10.9 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn

npm ERR! v8-debug@0.7.7 install: node-pre-gyp install --fallback-to-build npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the v8-debug@0.7.7 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 v8-debug package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-pre-gyp install --fallback-to-build npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs v8-debug npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls v8-debug npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /root/meanjs/npm-debug.log npm ERR! code 1

Any idea please ?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:3
  • Comments:6

github_iconTop GitHub Comments

3reactions
kalchcommented, Nov 26, 2016

Same issue with macOS Sierra v10.12.1, node v7.2.0, npm v4.0.2 or yarn v0.17.9 i.e. This fails - node-pre-gyp install --fallback-to-build

Using npm install -g node-inspector or yarn global add node-inspector

1reaction
hpohlmeyercommented, Nov 27, 2016

Same problem.

MacOS Sierra: 10.12.1
Node: 7.2.0
NPM: 3.10.9

Also using npm -g node-inspector.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debian GNU/Linux Installation Guide
This document contains installation instructions for the Debian GNU/Linux 8 system (codename “jessie”), for the. 64-bit PC (“amd64”) architecture.
Read more >
Debian GNU/Linux Installation Guide
This document contains installation instructions for the Debian GNU/Linux 11 system (codename bullseye), for the 64-bit PC (amd64) architecture.
Read more >
Debian GNU/Linux Installation Guide
This document contains installation instructions for the Debian GNU/Linux 11 system (codename “bullseye”), for.
Read more >
Debian GNU/Linux Installation Guide
This document contains installation instructions for the Debian GNU/Linux 8 system (codename jessie), for the 64-bit PC (amd64) architecture.
Read more >
D.3. Installing Debian GNU/Linux from a Unix/Linux System
3.2. Install debootstrap. The utility used by the Debian installer, and recognized as the official way to install a Debian base system, ...
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