Did you try:

{
...
“scripts”: {
  “start”: “node app.js”
  }
}

?

Sent from my phone

> On Nov 9, 2018, at 7:36 AM, Mike C <mybloomp...@gmail.com> wrote:
> 
> 
> I got the following error:
> 
> Error: Cannot find module '/srv/server.js'
> at Function.Module._resolveFilename (module.js:548:15)
> at Function.Module._load (module.js:475:25)
> at Function.Module.runMain (module.js:694:10)
> at startup (bootstrap_node.js:204:16)
> at bootstrap_node.js:625:3
> 
> =========================
> my package.json has  "main": "app.js",...
> It ran no problem locally. It is using 'runtime: nodejs8' in app.yaml
> 
> What did I do wrong ?!
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/db3a1f8a-662e-4446-a2f8-6f6b60b1fd4f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/225076C9-7D7F-4B94-83A3-3CF6428E8B7B%40google.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to