My initial package.json
:
~/Sites/remoteImageData → cat package.json
{
"name": "remoteImageData",
"author": "JFSIII",
"version": "0.0.2",
"scripts": {
"start": "node app.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 app.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 app.js' },
data: author: 'JFSIII',
data: analyze: true,
data: version: null
data: }
data:
version
is null
, but maybe that's ok?
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
nope.
~/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
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:
version
is missing, but maybe that's because of the previous failing run.
prompt: version: (0.0.0) 0.0.2
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 app.js' },
data: author: 'JFSIII',
data: analyze: true,
data: version: '0.0.2'
data: }
data:
I enter a value, it's there, we're cool.
prompt: Is this ok?: (yes) yes
info: Analyzing application dependencies in node app.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 app.js' },
data: author: 'JFSIII',
data: analyze: true,
data: version: null
data: }
data:
version
is null
again :/
prompt: Is this ok?: (yes) no
error: Error running command deploy
error: Save package.json cancelled.
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help:
help: Copy and paste this output to a gist (http://gist.github.com/)
info: Nodejitsu not ok
Once more, saying yes
and entring data all the way:
~/Sites/remoteImageData → cat package.json
{
"name": "remoteImageData",
"author": "JFSIII",
"version": "0.0.2",
"scripts": {
"start": "node app.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 app.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 app.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~/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
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) 0.0.2
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 app.js' },
data: author: 'JFSIII',
data: analyze: true,
data: version: '0.0.2'
data: }
data:
prompt: Is this ok?: (yes) yes
info: Analyzing application dependencies in node app.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 app.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~/Sites/remoteImageData →
Right back where I started.
Perhaps I'm choosing incorrectly, but I've covered several permutations. Could it be something else? File permissions or something?
~/Sites/remoteImageData → ls -al
total 16
drwxr-xr-x 4 jschulz staff 136 Sep 10 20:55 .
drwxr-xr-x 28 jschulz staff 952 Sep 10 15:39 ..
-rw-r--r-- 1 jschulz staff 1887 Sep 10 15:31 app.js
-rw-r--r-- 1 jschulz staff 272 Sep 10 21:06 package.json
I'm really just grasping at straws here. Not sure what else to check.