nodejs npm install (core dumped)

on FreeBSD 10.2
Code:
#cd /var/www/site.com
#npm install
# неверная инструкция (core dumped)
#npm -v
# неверная инструкция (core dumped)
#node -v
# неверная инструкция (core dumped)
How can I fix?
Code:
#pkg v|grep npm
# npm-3.9.2     =
#pkg v|grep node
# node-6.2.1_3 =
 
Node v6 is presently the "CURRENT" version, rather than figuring out what's wrong with it you might want to just use the LTS version (presently v4), this also uses a different version of npm (v2):

Try using www/npm2 and www/node4

I'm not sure what the reasoning behind making the default www/node port point at the CURRENT version... This is incompatible with much of the node world at the moment.
 
Back
Top