Skip to content

Commit

Permalink
Update chapters/faq.md
Browse files Browse the repository at this point in the history
fixed wrong field names specified in package.json (scripts.start).
  • Loading branch information
jeffsu committed Sep 25, 2012
1 parent d130eff commit 53fca08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/faq.md
Expand Up @@ -61,6 +61,6 @@ Finally, jitsu has the ability to bundle your app without deploying with the `ji


## "How do I fix `Error: package.json error: can't find starting script`?" ## "How do I fix `Error: package.json error: can't find starting script`?"


Nodejitsu requires a starting script in the package.json to know which script to run to start your application. You need to make sure that the start.scripts field in your package.json points to the correct starting script. Nodejitsu requires a starting script in the package.json to know which script to run to start your application. You need to make sure that the scripts.start field in your package.json points to the correct starting script.


A common issue is using "node app" as the value of script.start in your package.json. This won't work on Nodejitsu because the file extension is not specified. You'll need to do something along the lines of "node app.js". A common issue is using "node app" as the value of scripts.start in your package.json. This won't work on Nodejitsu because the file extension is not specified. You'll need to do something along the lines of "node app.js".

0 comments on commit 53fca08

Please sign in to comment.