Skip to content

Instantly share code, notes, and snippets.

@Gaurav0
Created September 19, 2012 01:28
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 Gaurav0/3747101 to your computer and use it in GitHub Desktop.
Save Gaurav0/3747101 to your computer and use it in GitHub Desktop.
Nodejitsu deployment error
C:\Users\Gaurav\Documents\Development\js\tictactoe>jitsu deploy
info: Welcome to Nodejitsu gaurav0
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: subdomain, engines
warn:
warn: Prompting user for required fields.
warn: Press ^C at any time to quit.
warn:
prompt: subdomain: (gaurav0.tictactoe) tictactoe
prompt: engines.node: (0.8.x)
error: The subdomain requested is already in use
prompt: subdomain: (gaurav0.tictactoe.gaurav0) ttt
warn: About to write C:\Users\Gaurav\Documents\Development\js\tictactoe\packa
ge.json
warn: Using '*' as a version for dependencies may eventually cause issues
warn: Use specific versions for dependencies to avoid future problems
warn: See: http://package.json.jit.su for more information
data:
data: {
data: private: true,
data: name: 'application-name',
data: engines: { node: '0.8.x' },
data: version: '0.0.1',
data: subdomain: 'ttt',
data: scripts: { start: 'node app' },
data: dependencies: {
data: socket.io: '0.9.10',
data: ejs: '*',
data: less-middleware: '*',
data: express: '3.0.0rc4'
data: }
data: }
data:
prompt: Is this ok?: (yes)
info: Analyzing application dependencies in node app
info: Checking app availability application-name
info: Creating app application-name
info: Creating snapshot 0.0.1
info: Updating app application-name
info: Activating snapshot 0.0.1 for application-name
info: Starting app application-name
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: package.json error: can't find starting script: node app
error: Package.json start script declared but not found
error:
error: This type of error is usually a user error.
error: Error output from Haibu:
error:
error: Error: package.json error: can't find starting script: node app
error: at Spawner.spawn (/root/haibu-orchestra/node_modules/haibu/lib/haib
u/core/spawner.js:232:17)
error: at Object.oncomplete (fs.js:297:15)
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
C:\Users\Gaurav\Documents\Development\js\tictactoe>node app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment