Can't get NPM to run!

Home Forums Conduit: mLinux Model Can't get NPM to run!

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #30480
    Larry Schoeneman
    Participant

    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
    
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.