Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

npm: Illegal instruction(Core dumped) #2889

Closed
ghost opened this Issue Oct 18, 2012 · 3 comments

Comments

Projects
None yet
3 participants
@ghost

ghost commented Oct 18, 2012

I am on Ubuntu - 12.04. Latest version of Node too. Everything was working fine until today as every npm instruction throws up Illegal instruction(Core dumped) error. Re-installing might fix the issue but it might crop up again. Any fixes yet?

@ghost

ghost commented Oct 18, 2012

Solved by re-installing node. Is it recurring for anyone else? Any ideas why it is being caused and what should be done to prevent it from cropping up again?

@mfncooper mfncooper closed this Jan 6, 2013

I'm having this issue on an alxd800 CPU (i586). Node seems to work but npm is throwing "Illegal instruction"

I didn't tried to compile from scratch but I've tried downloading both 8.28 and 10.30 node. Thanks for any help.

I've tried installing with the sh script but I'm getting this error:

root@foxbox:~/installers# curl -L https://npmjs.org/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6711  100  6711    0     0   3485      0  0:00:01  0:00:01 --:--:--  3485
tar=/bin/tar
version:
tar (GNU tar) 1.23
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
install npm@latest
fetching: http://registry.npmjs.org/npm/-/npm-1.4.23.tgz
Illegal instruction
Illegal instruction
You need node  to run this program.
node --version reports: v0.10.30
Please upgrade node before continuing.
It failed
root@foxbox:~/installers#

@othiym23 othiym23 added the support label Sep 21, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment