Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
prompt: Is this ok?: (yes)
info: Creating snapshot 0.0.0-3
info Uploading: [=============================] 99%
info: Updating app nodejs
info: Activating snapshot 0.0.0-3 for nodejs
info: Starting app nodejs
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to start the app
error: Error spawning drone
error: Script prematurely exited
error: This type of error is usually a user error.
error: Error output from app:
error: Warning: express.createServer() is deprecated, express
error: applications no longer inherit from http.Server,
error: please use:
error: var express = require("express");
error: var app = express();
error: /opt/haibu/apps/jayfresh/nodejs/package/server.js:232
error: server.use(express.bodyDecoder());
error: ^
error: TypeError: Object function createApplication() {
error: var app = connect();
error: utils.merge(app, proto);
error: app.request = { __proto__: req };
error: app.response = { __proto__: res };
error: app.init();
error: return app;
error: } has no method 'bodyDecoder'
error: at Function.<anonymous> (/opt/haibu/apps/jayfresh/nodejs/package/server.js:232:22)
error: at (/opt/haibu/apps/jayfresh/nodejs/package/node_modules/express/lib/application.js:400:61)
error: at createServer (/opt/haibu/apps/jayfresh/nodejs/package/server.js:231:9)
error: at Object.<anonymous> (/opt/haibu/apps/jayfresh/nodejs/package/server.js:632:1)
error: at Module._compile (module.js:449:26)
error: at Object.Module._extensions..js (module.js:467:10)
error: at Module.load (module.js:356:32)
error: at Function.Module._load (module.js:312:12)
error: at Function.Module.runMain (module.js:492:10)
error: at (/opt/haibu/carapace-versions/0.8.9/node_modules/haibu-carapace/lib/carapace.js:170:30)
help: For help with this error contact Nodejitsu Support:
help: webchat: <>
help: irc: <irc://>
help: email: <>
help: Copy and paste this output to a gist (
info: Nodejitsu not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.