Error: invalid version: 0.1
fakedrake opened this issue · comments
I am guessing the problem is in package.json but I am new to all this and didn't manage to solve this one intuitively...
Here is exactly what i get.
$ sudo npm install git://github.com/robhurring/hubot-redmine.git
npm ERR! Error: invalid version: 0.1
npm ERR! at validVersion (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:582:40)
npm ERR! at final (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:342:23)
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:140:33
npm ERR! at cb (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:335:40
npm ERR! at fs.readFile (fs.js:176:14)
npm ERR! at fs.close (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:90:5)
npm ERR! at Object.oncomplete (fs.js:297:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Linux 3.2.0-40-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "git://github.com/robhurring/hubot-redmine.git"
npm ERR! cwd /opt/alfred-hubot/deploy
npm ERR! node -v v0.8.17
npm ERR! npm -v 1.2.0
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/alfred-hubot/deploy/npm-debug.log
npm ERR! not ok code 0