Currently, gcloud doesn't warn when deploying a nodejs applications without `package.config` and silently defaults the app entry point to `/srv/server.js`.
The absence of a `package.json` is, most likely, an error on `.gcloudignore`, but the error raised just mention `Cannot find module '/srv/server.js'`, which is confusing and does not provide real information to users new to the platform.
I suggest gcloud would show a warning message when deploying a nodejs app without `package.config` and / or having this warning on the application logs.
Description
The absence of a `package.json` is, most likely, an error on `.gcloudignore`, but the error raised just mention `Cannot find module '/srv/server.js'`, which is confusing and does not provide real information to users new to the platform.
I suggest gcloud would show a warning message when deploying a nodejs app without `package.config` and / or having this warning on the application logs.