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.

Process exited with code: 127 (npm install)

See original GitHub issue

In short: When you are compiling the application “abricotine” with the Arch Linux tool makepkg (to create a package for the package manager), there is some issue with electron-rebuild. More detailed information are in this abricotine issue https://github.com/brrd/Abricotine/issues/63#issuecomment-231308863 .

npm: 3.10.5 nodejs: 6.3.0

but it happens with other versions of node/npm too. I can provide more information if needed!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MarshallOfSoundcommented, Jul 9, 2016

Someone can correct me if I’m wrong, but I’m pretty sure in bash error code 127 is unknown command.

Looks like it can’t find nodehttps://github.com/electron/electron-rebuild/blob/master/src/main.js#L128

0reactions
MarshallOfSoundcommented, Feb 19, 2017

We don’t spawn Electron anymore to get the version so closing this out 👍

If it is still an issue (for some weird reason) please comment below 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Command failed with exit code 127: npm run clean-www ...
I get the following error at the end. No change to package.json was detected. No package manager install will be executed. Found commits...
Read more >
Command failed with exit code 127: run npm generate
I am not a developer, and this is my first time using Git control and trying to deploy a web app. I am...
Read more >
The command “npm install” exited with code 127.
I seperated npm side as different build stage on dockerfile. So, firstly you should remove npm commands on publish in *.csproj file. So,...
Read more >
NodeJS throwing error code 127 - Server-Side Scripting
Exit code 127 indicates a 'command not found error'. could you try running hello.js separately? I suspect the sudo is causing problems since...
Read more >
Exit code 127 error status in Bash script
The 127 error code indicates “command not found”. This occurs when any given command within your Bash script or on Bash command line...
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