npm getting Illegal instruction (core dumped)

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

npm getting Illegal instruction (core dumped)

Postby ygator » Tue Dec 08, 2015 8:04 pm

I just installed npm and when I ran it I got:

$this->bbcode_second_pass_code('', '# npm -V
node: error while loading shared libraries: libicui18n.so.56: cannot open shared
')

The library did not exist so I found that it was in package icu so I did:
$this->bbcode_second_pass_code('', '# pacman -S icu')

Now when I run npm I get:
$this->bbcode_second_pass_code('', '# npm -V
Illegal instruction (core dumped)
')

I am running on a dockstar and am attempting to install deployd, but I see in another thread that there may also be some kind of an issue with mongodb as well.
ygator
 
Posts: 97
Joined: Tue Aug 10, 2010 9:37 pm

Re: npm getting Illegal instruction (core dumped)

Postby WarheadsSE » Tue Dec 08, 2015 8:47 pm

You should do a full upgrade at this point. If npm, which needs icu, didn't have it installed, you've got a system out of sync.

Do that, then come back.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: npm getting Illegal instruction (core dumped)

Postby ygator » Tue Dec 08, 2015 9:09 pm

Sorry for the confusion.

The systems were also fully updated with pacman -Syyu

On a fully updated system I got the error. I then went to a system that was not yet fully updated and tried npm there. It was not installed so I installed it. That is when I got the library error. I reported that since I would have thought that the library would be a dependency of the package. So I updated the library myself and still got the error.
I then fully updated this system as well and still get the error.
ygator
 
Posts: 97
Joined: Tue Aug 10, 2010 9:37 pm

Re: npm getting Illegal instruction (core dumped)

Postby WarheadsSE » Wed Dec 09, 2015 3:04 pm

I will attempt to replicate as I have time. Might take me a day.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: npm getting Illegal instruction (core dumped)

Postby ygator » Mon Dec 14, 2015 10:47 pm

Any luck on this?
ygator
 
Posts: 97
Joined: Tue Aug 10, 2010 9:37 pm

Re: npm getting Illegal instruction (core dumped)

Postby wobble » Mon Dec 14, 2015 11:22 pm

Fwiw, node has always been hit or miss on my pogoplug e02. The last version that reliably works for me is 0.10.36-3.

This version is sufficient for me, so I just ignore updates. If you could live with that version as well, you might want to give it a try. (I just assume that error is really with node and not with npm, if that's not true for your case then just ignore this post).
wobble
 
Posts: 33
Joined: Fri Dec 04, 2015 2:15 pm

Re: npm getting Illegal instruction (core dumped)

Postby ygator » Tue Dec 15, 2015 9:30 pm

Yes, running node also gives "Illegal instruction (core dumped)".
I tried out past versions I had in the pacman cache and either they gave illegal instruction or segmentation fault.
The latest one I had that brought up the node prompt was nodejs-0.10.36-2-arm.pkg.tar.xz.

Looking on the nodejs site I see they have some ARM binaries, but only for arm 6,7, and 8. They do not have 5 which is what the dockstar has.
ygator
 
Posts: 97
Joined: Tue Aug 10, 2010 9:37 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 2 guests