Skip to content

Instantly share code, notes, and snippets.

@jfsiii
Created September 10, 2012 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfsiii/3694522 to your computer and use it in GitHub Desktop.
Save jfsiii/3694522 to your computer and use it in GitHub Desktop.
Failing initial deploy
~/Sites/remoteImageData → cat package.json
{
"name": "remoteImageData",
"author": "JFSIII",
"version": "0.01",
"scripts": {
"start": "node base64.js"
},
"dependencies": {
"request": ">= 2.9.100"
},
"analyze": true,
"subdomain": "remoteImageData.jfsiii",
"engines": {
"node": "0.8.x"
}
}~/Sites/remoteImageData → jitsu deploy
info: Welcome to Nodejitsu JFSIII
info: jitsu v0.9.8
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node base64.js
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/jschulz/Sites/remoteImageData/package.json
data:
data: {
data: name: 'remoteImageData',
data: subdomain: 'remoteImageData.jfsiii',
data: dependencies: { request: '>= 2.9.100' },
data: engines: { node: '0.8.x' },
data: scripts: { start: 'node base64.js' },
data: author: 'JFSIII',
data: analyze: true,
data: version: null
data: }
data:
prompt: Is this ok?: (yes) yes
/opt/twitter/share/npm/lib/node_modules/jitsu/lib/jitsu/package.js:405
jitsu.log.info('Creating snapshot ' + version.grey);
^
TypeError: Cannot read property 'grey' of null
at package.updateTarball.old (/opt/twitter/share/npm/lib/node_modules/jitsu/lib/jitsu/package.js:405:52)
at FileWriter.package.createTarball (/opt/twitter/share/npm/lib/node_modules/jitsu/lib/jitsu/package.js:375:9)
at FileWriter.EventEmitter.emit (events.js:115:20)
at end (/opt/twitter/share/npm/lib/node_modules/jitsu/node_modules/fstream/lib/writer.js:323:12)
at Writer._finish (/opt/twitter/share/npm/lib/node_modules/jitsu/node_modules/fstream/lib/writer.js:313:32)
at endChmod (/opt/twitter/share/npm/lib/node_modules/jitsu/node_modules/fstream/lib/writer.js:185:44)
at setProps (/opt/twitter/share/npm/lib/node_modules/jitsu/node_modules/fstream/lib/writer.js:293:5)
at FileWriter.Writer._finish (/opt/twitter/share/npm/lib/node_modules/jitsu/node_modules/fstream/lib/writer.js:264:5)
at FileWriter._finish (/opt/twitter/share/npm/lib/node_modules/jitsu/node_modules/fstream/lib/file-writer.js:94:28)
at FileWriter._cre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment