简体   繁体   中英

Heroku: Deploying express js and reactjs

I have a project that uses express and react. I'm deploying it to heroku but after running git push , I receive an error in heroku logs . I go to the specified webpage and it says that it cannot find a buildpack. What do I do? Any help will be appreciated!

you need to go this way: Settings -> Add buildpack -> node.js don't forget, that this is only start and you may need to add some scripts in your package.json file for heroku deployment process

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