Long shot but any help would be great

I'm using a multitech conduit...which apparently has an older version of node-red on it

I'm trying to npm some of the nodes.....but whenever i run npm i get:

ANY advice would be greatly appreciated...i've hard reset, im not sure what else i can do....

/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

Looks like the version of npm installed is broken or out of date. (see here for more info)

I was able to upgrade tthe firmware and it fixed it.

Thanks!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.