nodejitsu/jitsu — Issue #185: jitsu writes badly formatted version string (socket.io: '0.9.x.-1')
Author: joeyAghion
Created: 2012-03-02 17:00:30+00:00
State: open

I started from the package.json which you can find here: https://github.com/thedjpetersen/subway/blob/3929a8eb53326f44354ce9bb0aa52e24a87af5c4/package.json

It specifies

"socket.io": ""

After running `jitsu deploy`, package.json was updated (see output below) with the version string "0.9.x.-1", which is invalid. It worked after I removed the final period.

info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing your application dependencies in subway
info: Found new dependencies. They will be added automatically
data: {
data: express: '2.5.x',
data: bcrypt: '0.5.x',
data: mongoose: '2.5.x',
data: connect-assets: '2.1.x',
data: socket.io: '0.9.x.-1'
data: }
warn: About to write /Users/joey/dev/subway/package.json