I am new to webDevelopment . I am trying to install a npm module using the npm install grunt-contrib-watch --save-dev
, But I am getting this error -
npm WARN npm npm does not support Node.js v0.10.37
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/
npm ERR! Object function (err) {
npm ERR! if (err) return cb(err)
npm ERR! fs.fsync(fd, function (err) {
npm ERR! if (err) return cb(err)
npm ERR! fs.close(fd, cb)
npm ERR! })
npm ERR! } has no method 'toLowerCase'
I tried to install the node latedt version then also, It is giving me the same .
My versions are -
Node - v0.10.37
npm - 4.6.1
How can I solve this ?