I noticed there's no node_modules in the repo you linked. Do we need to npm install express before pushing the repo to heroku?
node_modules
npm install express
Heroku uses the package.json file to npm install the packages itself. Make sure that you have the dependencies section:
package.json
npm install
"dependencies": { "express": "^4.16.3" }
note: be sure this dependencies section includes any packages you are using, or else they will not be installed.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I noticed there's no
node_modules
in the repo you linked. Do we need tonpm install express
before pushing the repo to heroku?Heroku uses the
package.json
file tonpm install
the packages itself. Make sure that you have the dependencies section:"dependencies": {
"express": "^4.16.3"
}
note: be sure this dependencies section includes any packages you are using, or else they will not be installed.