简体   繁体   中英

My node.js Server is running successfully in heroku but build failed.( Timeout running buildpack)

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM