Can't get NPM to run!
- This topic has 0 replies, 1 voice, and was last updated 5 years ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Conduit: mLinux Model › Can't get NPM to run!
I’m trying to run npm, but whenever i do i get what’ss shown below, even with npm -v:
Any help reisntalling or whatever would be greatly appreciated.
I’m not very familiar with mlinux (or linux for that matter…tend to live more in the windows world)
Help!
admin@mtcdt:~# npm
/usr/lib/node_modules/npm/bin/npm-cli.js:85
let notifier = require('update-notifier')({pkg})
^^^^^^^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:945:3
admin@mtcdt:~# apt-get
-bash: apt-get: command not found
admin@mtcdt:~# node -v
v0.10.48
admin@mtcdt:~# npm
/usr/lib/node_modules/npm/bin/npm-cli.js:85
let notifier = require('update-notifier')({pkg})
^^^^^^^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:945:3