Skip to content

Instantly share code, notes, and snippets.

@thehme
Created November 1, 2014 02:14
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 thehme/fff660a5155bd8cc1f45 to your computer and use it in GitHub Desktop.
Save thehme/fff660a5155bd8cc1f45 to your computer and use it in GitHub Desktop.
error: Nodejitsu Error (401): Not Authorized
thehme:showtracker thehme$ jitsu deploy
info: Welcome to Nodejitsu
info: jitsu v0.14.0, node v0.10.32
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node server.js
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /showtracker/package.json
data:
data: {
data: dependencies: {
data: debug: '~2.0.0',
data: xml2js: '^0.4.4',
data: express-session: '^1.9.1',
data: agenda: '^0.6.23',
data: cookie-parser: '~1.3.3',
data: async: '^0.9.0',
data: body-parser: '~1.8.1',
data: mongoose: '^3.8.18',
data: compression: '^1.2.0',
data: sugar: '^1.4.1',
data: nodemailer: '^1.3.0',
data: passport-local: '^1.0.0',
data: passport: '^0.2.1',
data: request: '^2.47.0',
data: serve-favicon: '~2.1.3',
data: lodash: '^2.4.1',
data: bcryptjs: '^2.1.0',
data: express: '~4.9.0',
data: jade: '~1.6.0',
data: morgan: '~1.3.0'
data: },
data: devDependencies: {
data: gulp: '^3.8.9',
data: gulp-angular-templatecache: '^1.4.2',
data: gulp-csso: '^0.2.9',
data: gulp-uglify: '^1.0.1',
data: gulp-concat: '^2.4.1',
data: gulp-sass: '^1.2.0',
data: gulp-plumber: '^0.6.6'
data: },
data: engines: { node: '0.10.32' },
data: name: 'showtrackr',
data: private: true,
data: scripts: { start: 'node server.js' },
data: subdomain: 'showtracker',
data: version: '0.0.0-2'
data: }
data:
prompt: Is this ok?: (yes)
info: Creating snapshot 0.0.0-2
info: Uploading: [=============================] 100%
error: Error running command deploy
error: Nodejitsu Error (401): Not Authorized
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
@thehme
Copy link
Author

thehme commented Nov 1, 2014

To solve this issues, do the following:

  1. Log in

jitsu login

  1. Check your e-mail and activate account
  2. Re-run

jitsu deploy

After this, I still have an issue, here is the error:

info:    Done creating snapshot 0.0.0-4
info:    Updating app showtrackr
info:    Activating snapshot 0.0.0-4 for showtrackr
info:    Starting app showtrackr
error:   Error running command deploy
error:   Errors occured while starting the application
error:   Error starting application. This could be a user error.
error:   info: Running start for app.
error:   info: Reading `package.json`...
error:   error: Error: No satisfying node version found.

This was due to an issue with the package.json where for version node I had "node": "0.10.32", so I checked it to "node": "^0.10.0" and everything worked fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment