Skip to content

Instantly share code, notes, and snippets.

@soapdog
Created February 22, 2013 21:53
Show Gist options
  • Save soapdog/5016833 to your computer and use it in GitHub Desktop.
Save soapdog/5016833 to your computer and use it in GitHub Desktop.
jitsu deploy error with version null
mobilelain:express soapdog$ jitsu deploy --debug
info: Welcome to Nodejitsu andregarzia
info: jitsu v0.12.1, node v0.8.7
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
warn:
warn: The package.json file is missing required fields:
warn:
warn: version
warn:
warn: Prompting user for required fields.
warn: Press ^C at any time to quit.
warn:
prompt: version: (0.0.0)
warn: About to write /Users/soapdog/prog/gomeetme-nodejs-server/express/package.json
data:
data: {
data: author: { email: '[email protected]', name: 'Andre Alves Garzia' },
data: version: '0.0.0',
data: description: 'A server for GoMeetMe app',
data: readme: 'A server for GoMeetMe app',
data: name: 'gomeetme',
data: analyze: false,
data: dependencies: {
data: express: '3.0.x',
data: jade: '0.26.1',
data: mongoose: '2.6.5'
data: },
data: scripts: { start: 'node app.js' },
data: subdomain: 'andregarzia.gomeetme',
data: engines: { node: '0.8.x' }
data: }
data:
prompt: Is this ok?: (yes)
info: Skipping require-analyzer because noanalyze option is set
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/andregarzia/gomeetme',
debug: headers:
debug: { Authorization: '*********************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000 }
debug: { statusCode: 200,
debug: result:
debug: { app:
debug: { _id: 'andregarzia/gomeetme',
debug: name: 'gomeetme',
debug: scripts: { start: 'node app.js' },
debug: user: 'andregarzia',
debug: subdomain: 'andregarzia.gomeetme',
debug: snapshots: [],
debug: env:
debug: { SUBDOMAIN: 'andregarzia.gomeetme',
debug: NODE_ENV: 'production' },
debug: domains: [],
debug: databases: {},
debug: config: {},
debug: maxDrones: 1,
debug: drones: 0,
debug: ctime: 1361568402827,
debug: mtime: 1361569701916,
debug: resource: 'App',
debug: _rev: '2-f2507aca546af1339664c27e698187f9',
debug: version: '0.1',
debug: dependencies:
debug: { express: '3.0.x',
debug: jade: '*',
debug: mongoose: '2.6.5' },
debug: description: 'A server for GoMeetMe app',
debug: engines: { node: '0.8.x' },
debug: id: 'gomeetme',
debug: subscriptionId: 3015552 } } }
info: Skipping require-analyzer because noanalyze option is set
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/soapdog/prog/gomeetme-nodejs-server/express/package.json
data:
data: {
data: author: { email: '[email protected]', name: 'Andre Alves Garzia' },
data: version: null,
data: description: 'A server for GoMeetMe app',
data: readme: 'A server for GoMeetMe app',
data: name: 'gomeetme',
data: analyze: false,
data: dependencies: {
data: express: '3.0.x',
data: jade: '0.26.1',
data: mongoose: '2.6.5'
data: },
data: scripts: { start: 'node app.js' },
data: subdomain: 'andregarzia.gomeetme',
data: engines: { node: '0.8.x' }
data: }
data:
prompt: Is this ok?: (yes)
/usr/local/lib/node_modules/jitsu/lib/jitsu/package.js:411
jitsu.log.info('Creating snapshot ' + version.grey);
^
TypeError: Cannot read property 'grey' of null
at package.updateTarball.start (/usr/local/lib/node_modules/jitsu/lib/jitsu/package.js:411:52)
at FileWriter.package.createTarball (/usr/local/lib/node_modules/jitsu/lib/jitsu/package.js:381:9)
at FileWriter.EventEmitter.emit (events.js:115:20)
at end (/usr/local/lib/node_modules/jitsu/node_modules/fstream/lib/writer.js:323:12)
at Writer._finish (/usr/local/lib/node_modules/jitsu/node_modules/fstream/lib/writer.js:313:32)
at endChmod (/usr/local/lib/node_modules/jitsu/node_modules/fstream/lib/writer.js:185:44)
at setProps (/usr/local/lib/node_modules/jitsu/node_modules/fstream/lib/writer.js:293:5)
at FileWriter.Writer._finish (/usr/local/lib/node_modules/jitsu/node_modules/fstream/lib/writer.js:264:5)
at FileWriter._finish (/usr/local/lib/node_modules/jitsu/node_modules/fstream/lib/file-writer.js:94:28)
at FileWriter._create (/usr/local/lib/node_modules/jitsu/node_modules/fstream/lib/file-writer.js:51:8)
mobilelain:express soapdog$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment