[SOLVED] Npm does not support Node.js v0.10.45

Could anyone please say how can I update builtin project node?

I cloned our company’s project from git and try to run meteor npm i. And I get this:

npm WARN npm npm does not support Node.js v0.10.45
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm You can find the latest version at https://nodejs.org/

… and then complaints about fat arrow function.

Globally I have node v4.8.3, but inside project it is 0.10.45:

$ meteor npm --version
$ meteor node --version
$ npm --version
$ node --version

I can use globally installed npm to install deps, works fine. But anyway I need to figure out how to update inner node, because it causes errors while updating to latest Meteor.


OK, looks like somehow I have wrong version of npm so that inner npm links to global npm.


Ultimate goal was to upgrade from 1.3 to 1.5. I did a lot of things that I found around on the internet like removing ~/.node-gyp, install it globally and other stuff.

Eventually I removed meteorhacks:kadira and meteorhacks:kadira-profiler and everything is ok. These packages had some binary deps.

What version of Meteor are you on? This looks like some old version. You should upgrade to some newer release.

Yes, it is Right now I’m trying to update it. But because of mess with npm version there are a lot of errors.