Note that there are some explanatory texts on larger screens.

plurals
  1. PONodejitsu app stops immediately after starting
    text
    copied!<p>I'm quite new to node.js, so bear with me. I've set up a basic Portfolio site using node, express, and some bootstrap, and everything runs fine locally (<a href="https://github.com/deanlai/Builtbysean" rel="nofollow">on github</a>). When I deploy and/or start my app on nodejitsu I get this message:</p> <pre><code>info: Updating app Portfolio info: Activating snapshot 0.0.1-4 for Portfolio info: Starting app Portfolio info: App Portfolio is now started info: http://builtbysean.jit.su on Port 80 info: Nodejitsu ok </code></pre> <p>Seems okay? Well upon visiting the url I am greeted by a Nodejitsu 400 error "builtbysean.jit.su is currently stopped." Immediately running <code>$ jitsu apps view</code> reveals that my app is indeed stopped (see active: false, running: false near the bottom)</p> <pre><code>info: Viewing app Portfolio data: { data: dependencies: { express: '3.3.4', jade: '0.33.0' }, data: name: 'Portfolio', data: domains: [], data: config: {}, data: scripts: { start: 'node app.js' }, data: user: 'deanlai', data: subdomain: 'builtbysean', data: drones: 0, data: maxDrones: 1, data: engines: { node: '0.8.x', npm: '1.3.2' }, data: snapshots: [ data: { id: '0.0.1', created: '07/18 22:52:26 PDT' }, data: { id: '0.0.1-1', created: '07/19 10:28:24 PDT' }, data: { id: '0.0.1-2', created: '07/19 18:23:52 PDT' }, data: { id: '0.0.1-3', created: '07/19 18:33:22 PDT' }, data: { id: '0.0.1-4', created: '07/19 19:44:14 PDT' } data: ], data: ctime: '07/18 22:51:06 PDT', data: subscriptionId: 3627690, data: version: '0.0.1-4', data: active: { data: id: '0.0.1-4', data: md5: '7a484e5758bdaf1c89d01a98d53868a4', data: filename: 'deanlai-Portfolio-0.0.1-4.tgz', data: ctime: '07/19 19:44:14 PDT', data: active: false, data: running: false data: }, data: databases: {}, data: mtime: '07/19 19:48:48 PDT', data: env: { SUBDOMAIN: 'builtbysean', NODE_ENV: 'production' } data: } </code></pre> <p>Any idea what's going on? I'm not getting any errors thrown on my end so it's difficult to diagnose. I also made the simple hello app in nodejitsu's starting guide and it deployed, started, and stayed running without issue, so it would seem there is something "wrong" with my app that is causing nodejitsu to stop running the app (again, there are no problems running it locally).</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload