将react应用程序部署到heroku时出错,当我点击“git push heroku master”命令时,同样的错误会一次又一次出现

ivqmmu1c  于 2021-10-10  发布在  Java
关注(0)|答案(0)|浏览(189)

**已关闭。**此问题需要调试详细信息。它目前不接受答案。
**想要改进此问题?**更新问题,使其位于堆栈溢出主题上。

两天前关门了。
改进这个问题

remote: error Command failed with exit code 1.
remote:        info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
remote: 
remote: -----> Build failed
remote:        
remote:        We're sorry this build is failing! You can troubleshoot common issues here:
remote:        https://devcenter.heroku.com/articles/troubleshooting-node-deploys       
remote:
remote:        Some possible problems:
remote:
remote:        - Node version not specified in package.json
remote:          https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
remote:
remote:        Love,
remote:        Heroku
remote:
remote:  !     Push rejected, failed to compile React.js (create-react-app) multi app.  
remote: 
remote:  !     Push failed
remote: Verifying deploy...
remote: 
remote: !       Push rejected to my-ecommerce-react-store.
remote:
To https://git.heroku.com/my-ecommerce-react-store.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/my-ecommerce-react-store.git'

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题