Skip to content
This repository
Browse code

[doc] update FAQ to describe starting script error

  • Loading branch information...
commit e57055043b7cb37898e9e540f4559e0e8c766ae0 1 parent 3a09a00
Christian Howe coderarity authored

Showing 1 changed file with 6 additions and 1 deletion. Show diff stats Hide diff stats

  1. +6 1 chapters/faq.md
7 chapters/faq.md
Source Rendered
@@ -23,7 +23,7 @@ Nodejitsu's cloud services watch your programs for you! You shouldn't have to do
23 23
24 24 Connecting to other servers using arbitrary ports requires no special considerations. However, *listening* for outside connections is currently limited to port 80 on the Nodejitsu platform because we require http host headers for domain name resolution of subdomains. Consequentially, each subdomain may only host one listening service.
25 25
26   -The ability to host tcp applications on nodejitsu and listen on non-80 ports is on our roadmap but has no associated timeline.
  26 +The ability to host TCP applications on nodejitsu and listen on non-80 ports is on our roadmap but has no associated timeline.
27 27
28 28 ## "Can I use jitsu with Cloud9 IDE (<http://c9.io>)?"
29 29
@@ -59,3 +59,8 @@ In more detail: npm uses a file called `.npmignore`, which should contain a list
59 59
60 60 Finally, jitsu has the ability to bundle your app without deploying with the `jitsu package create` command. You can use this to make sure that the resulting .tgz file is as you expect.
61 61
  62 +## "How do I fix `Error: package.json error: can't find starting script`?"
  63 +
  64 +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.
  65 +
  66 +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".

0 comments on commit e570550

Please sign in to comment.
Something went wrong with that request. Please try again.