You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
If it is not being added with get add bin/www it sounds like you may have a git ignore ignoring that directory or file. You can generate your project with --git option to create a .gitignore with the expected filters.
Expressjs default template has
.bin/www
to start the node js app. Butbin
folder is never committed to github (I can't find anyway until now).So my codeCommit pipeline fails -
Should I delete the bin folder and rename www with
server.js
? What exactly thewww
does? If I put it on main directory with rename..Will it cause any problem?Or anyway to push it on git commit?
The text was updated successfully, but these errors were encountered: