[Nodejs] nodejs and npm Illegal instruction (core dumped)

Problems with packages? Post here, using [tags] of the package name.

[Nodejs] nodejs and npm Illegal instruction (core dumped)

Postby marbi » Tue Feb 17, 2015 10:54 pm

I've installed latest nodejs package from repo and every time i try to run a npm command i'm getting Illegal instruction (core dumped)


$this->bbcode_second_pass_code('', '[root@raspberrypi test]# npm install
Illegal instruction (core dumped)')

Also I've tried to run a simple app and I'm getting same message:

$this->bbcode_second_pass_code('', '[root@raspberrypi test]# node app.js
Illegal instruction (core dumped)')

By the way node --help, or node -v are working ok.

$this->bbcode_second_pass_code('', '[root@raspberrypi test]# node -v
v0.12.0')

$this->bbcode_second_pass_code('', '[root@raspberrypi test]# node --help
Usage: node [options] [ -e script | script.js ] [arguments]
node debug script.js [arguments]

Options:
-v, --version print node's version
-e, --eval script evaluate script
-p, --print evaluate script and print result
-i, --interactive always enter the REPL even if stdin
does not appear to be a terminal
--no-deprecation silence deprecation warnings
--throw-deprecation throw an exception anytime a deprecated function is used
--trace-deprecation show stack traces on deprecations
--v8-options print v8 command line options
--max-stack-size=val set max v8 stack size (bytes)
--enable-ssl2 enable ssl2
--enable-ssl3 enable ssl3

Environment variables:
NODE_PATH ':'-separated list of directories
prefixed to the module search path.
NODE_MODULE_CONTEXTS Set to 1 to load modules in their own
global contexts.
NODE_DISABLE_COLORS Set to 1 to disable colors in the REPL

Documentation can be found at http://nodejs.org/')

I'm runnig
$this->bbcode_second_pass_code('', 'Linux raspberrypi 3.18.7-4-ARCH #1 PREEMPT Mon Feb 16 11:40:50 MST 2015 armv6l GNU/Linux')
marbi
 
Posts: 15
Joined: Tue Feb 17, 2015 9:58 pm

Re: [Nodejs] nodejs and npm Illegal instruction (core dumped

Postby alexellis » Wed Feb 18, 2015 12:40 am

I'm getting exactly the same problem on all my PIs since I did a pacman -Syu recently.

[ ~]$ node -v
v0.12.0

[ ~]$ node
Illegal instruction (core dumped)

[ ~]$ npm
Illegal instruction (core dumped)

Now we hope that this package was tested before being submitted. I noticed nobody has got back to the original poster yet.

What's the easiest way to roll back to the previous version of the package and then hold back this update until further notice?
alexellis
 
Posts: 13
Joined: Wed Feb 18, 2015 12:37 am

Re: [Nodejs] nodejs and npm Illegal instruction (core dumped

Postby pepedog » Wed Feb 18, 2015 1:00 am

Example
$this->bbcode_second_pass_code('', 'pacman -U http://rollback.archlinuxarm.org/month/armv6h/community/nodejs-0.10.36-2-armv6h.pkg.tar.xz')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [Nodejs] nodejs and npm Illegal instruction (core dumped

Postby marbi » Wed Feb 18, 2015 7:23 am

Rollback to previous version. Everything is normal now.

Thanks for the support.

Regards.
marbi
 
Posts: 15
Joined: Tue Feb 17, 2015 9:58 pm

Re: [Nodejs] nodejs and npm Illegal instruction (core dumped

Postby alexellis » Wed Feb 18, 2015 10:54 am

Roll-back to previous version also worked for me.

Is someone (i.e. the package maintainer) going to look at the issue? How do we flag it with him?

Thanks,

Alex
alexellis
 
Posts: 13
Joined: Wed Feb 18, 2015 12:37 am

Re: [Nodejs] nodejs and npm Illegal instruction (core dumped

Postby WarheadsSE » Wed Feb 18, 2015 3:11 pm

Yes. We're looking into it. Joys of people making assumptions in their configure scripts.

Also: npm uses nodejs .. so of course it also fails.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Nodejs] nodejs and npm Illegal instruction (core dumped

Postby naesk » Thu Feb 26, 2015 2:30 pm

Already rolled back to previous version. Just out of curiousity, what is the status with new pakage?
naesk
 
Posts: 6
Joined: Sun Mar 09, 2014 9:41 pm

Re: [Nodejs] nodejs and npm Illegal instruction (core dumped

Postby fuzzycow101 » Thu Mar 19, 2015 12:39 am

Having the same problem. Tried using the rollback:

$this->bbcode_second_pass_code('', 'pacman -U http://rollback.archlinuxarm.org/month/armv6h/community/nodejs-0.10.36-2-armv6h.pkg.tar.xz')

But it says that the file doesn't exist... I checked the directory and it has been updated to nodejs-0.12.0-3-armv6h.pkg.tar.xz. I installed this one and I get the same Illegal instruction (core dumped) error.

Any help I can get would be appreciated.
fuzzycow101
 
Posts: 2
Joined: Thu Mar 19, 2015 12:29 am

Re: [Nodejs] nodejs and npm Illegal instruction (core dumped

Postby WarheadsSE » Thu Mar 19, 2015 1:52 pm

Once they release 0.12.1, this should be fixed.

As for the rollback, perhaps pay attention to how the system stores packages. Perhaps that /month/ needs updated... ?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Nodejs] nodejs and npm Illegal instruction (core dumped

Postby fuzzycow101 » Fri Mar 20, 2015 2:12 am

$this->bbcode_second_pass_quote('WarheadsSE', 'O')nce they release 0.12.1, this should be fixed.

As for the rollback, perhaps pay attention to how the system stores packages. Perhaps that /month/ needs updated... ?


I see what you are saying now. I didn't know how the packaging system worked. I found what I needed. Thank you for the suggestion.
fuzzycow101
 
Posts: 2
Joined: Thu Mar 19, 2015 12:29 am

Next

Return to Packages

Who is online

Users browsing this forum: No registered users and 14 guests