小编ReZ*_*ReZ的帖子

如何使用heroku-22部署reactapp?

当我部署到 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.  
Run Code Online (Sandbox Code Playgroud)

我正在使用这个构建包:

https://github.com/mars/create-react-app-buildpack
Run Code Online (Sandbox Code Playgroud)

但heroku将不再支持它。我不知道如何将我的reactapp迁移到nextjs或remix,有人知道支持新版本heroku的替代构建包吗?

heroku node.js reactjs

18
推荐指数
1
解决办法
1万
查看次数

标签 统计

heroku ×1

node.js ×1

reactjs ×1