create-react-app 从文档中移除指向Heroku教程和构建包的链接

nfeuvbwi  于 5个月前  发布在  React
关注(0)|答案(2)|浏览(59)

在这篇文章中: https://create-react-app.dev/docs/deployment/
你链接到了这篇Heroku文章: https://blog.heroku.com/deploying-react-with-zero-configuration
那篇文章(来自2016年)似乎已经过时了。特别是,它建议使用的构建包似乎不再支持最新的Heroku堆栈。当我尝试使用它时,我看到了以下内容:

remote: =====! create-react-app-buildpack has reached end-of-life 🌅
remote:        This build may succeed, but the buildpack is no longer maintained.
remote:        On the Heroku-22 stack and beyond, this may fail to build at all.
remote: 
remote:        Please consider migrating to https://nextjs.org or https://remix.run to develop React apps which are deployable using Heroku's Node.js buildpack https://github.com/heroku/heroku-buildpack-nodejs, or you may develop your own create-react-app deployment with Node.js and Nginx buildpacks.
remote:

然后稍后:

emote: =====> Detected Framework: Static HTML
remote: Stack heroku-22 is not supported!
remote:  !     Push rejected, failed to compile React.js (create-react-app) multi app.
remote: 
remote:  !     Push failed
1u4esq0p

1u4esq0p1#

你好,有人在处理这个问题吗?如果没有,我想接手。

hkmswyz6

hkmswyz62#

你好。有任何更新吗?

相关问题