Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[scaffolding-node] Error messaging #1181

Open
eeyun opened this issue Feb 7, 2018 · 1 comment
Open

[scaffolding-node] Error messaging #1181

eeyun opened this issue Feb 7, 2018 · 1 comment

Comments

@eeyun
Copy link
Contributor

eeyun commented Feb 7, 2018

@mgamini commented on Wed Dec 06 2017

ERROR: A default proccess bin called 'web' could not be detected from a Procfile or package.json.

Seems the error here is that the package.json file is lacking a start script, but that's not apparent from the error messaging. Probably should be more clear.

@eeyun eeyun added this to the Accepted Minor milestone Feb 7, 2018
@rsertelon rsertelon changed the title Node Scaffolding: Error messaging [scaffolding-node] Error messaging Mar 23, 2018
@andy-dufour
Copy link

Just hit this as well. Can confirm adding a start script (simply node app.js) to packages.json fixed it. If I get some time in the next couple weeks may look at attempting a fix.

If no start script is defined should we not attempt node $main from packages.json?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants