-
-
Notifications
You must be signed in to change notification settings - Fork 551
Closed
Labels
Description
Expressjs default template has .bin/www to start the node js app. But bin folder is never committed to github (I can't find anyway until now).
So my codeCommit pipeline fails -
-------------------------------------
/var/log/nodejs/nodejs.log
-------------------------------------
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! myApp@0.0.0 start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the myApp@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Should I delete the bin folder and rename www with server.js ? What exactly the www does? If I put it on main directory with rename..Will it cause any problem?
Or anyway to push it on git commit?
Reactions are currently unavailable
