Paratron/SimpLESS — pull request #130 by pyrokinetiq (2014-01-09 04:15:00+00:00)
Title: Fixed version formatting

npm requires 3-digit formatting of the version number (x.x.x) as opposed to 2-digit (x.x).

Attempting to install SimpLESS failed when installing LESS and socket.io to the nwData directory with the error:

npm ERR! Error: invalid version: 2.0
npm ERR! at validVersion (/usr/lib/nodejs/read-package-json/read-json.js:573:40)
npm ERR! at final (/usr/lib/nodejs/read-package-json/read-json.js:323:23)
npm ERR! at /usr/lib/nodejs/read-package-json/read-json.js:139:33
npm ERR! at cb (/usr/lib/nodejs/slide/lib/async-map.js:48:11)
npm ERR! at /usr/lib/nodejs/read-package-json/read-json.js:301:48
npm ERR! at fs.js:207:20
npm ERR! at OpenReq.Req.done (/usr/lib/nodejs/graceful-fs/graceful-fs.js:135:5)
npm ERR! at OpenReq.done (/usr/lib/nodejs/graceful-fs/graceful-fs.js:64:22)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR!
npm ERR! or use
npm ERR! reportbug --attach /media/damon/Storage/Library/Downloads/simpless/SimpLESS/nwData/npm-debug.log npm

Changing the version number to a 3-digit format fixes this.