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')
			
		
