enter image description here
I have attached all the environment variables at heroku and pulled the code from github. After that i have tried to deploy the app. It run's well but build fails. (Github project link -> https://github.com/shubhamGhosh-dev/OAuth-messaging-server )
After two days of struggle, I found the issue. Which is just a script ( "build": "node index.js"
) in package.json
file.
After removing "build": "node index.js"
, the app is deployed successfully. But still curious for this behaviour.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.