-
-
Save atuttle/c64509d09846710a5b78 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ jitsu deploy | |
... | |
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: main.js | |
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: main.js | |
error: at Spawner.spawn (/root/haibu-orchestra/node_modules/haibu/lib/haibu/core/spawner.js:232:17) | |
error: at Object.oncomplete (fs.js:297:15) | |
$ jitsu deploy | |
... | |
error: Error running command deploy | |
error: socket hang up | |
$ ls -al | |
drwxr-xr-x 12 adam staff 408 Mar 13 23:46 . | |
drwxr-xr-x 12 adam staff 408 Mar 8 21:33 .. | |
drwxr-xr-x 13 adam staff 442 Mar 17 10:57 .git | |
-rw-r--r--@ 1 adam staff 31 Mar 13 23:24 .gitignore | |
-rw-r--r-- 1 adam staff 939 Mar 8 23:13 config.js | |
drwxr-xr-x 5 adam staff 170 Mar 13 03:21 controllers | |
-rw-r--r-- 1 adam staff 771 Mar 14 15:07 encryption-test.js | |
-rw-r--r-- 1 adam staff 1734 Mar 8 23:14 main.js | |
drwxr-xr-x 13 adam staff 442 Mar 10 08:20 node_modules | |
-rw-r--r-- 1 adam staff 862 Mar 17 10:50 package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"start": "node main.js", | |
"test": "mocha test" | |
}, | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment