简体   繁体   English

反应脚本构建失败

[英]React-scripts build failed

Here is my GitHub repo: https://github.com/Stick-z/mern-shopping Whenever I try to deploy to heroku, I get this error: Exit status 254 I think it is because of the react-scripts-build, because I have seen it before when deploying it somewhere else.这是我的 GitHub 存储库: Exit status 254 ://github.com/Stick-z/mern-shopping每当我尝试部署到 heroku 时,我收到此错误是因为 react-scripts 25因为我以前在其他地方部署它时见过它。

Try尝试

"build": "react-scripts build" “构建”:“反应脚本构建”

In package.json.在 package.json 中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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