/src/hooks/myHook.js Line 11: React Hook useEffect has a missing dependency: 'x'.Either include it or remove the dependency array react-hooks/exhaustive-deps 这让我认为React dev正在运行。name: Deploy Master to Heroku
comm
我正在使用我的github存储库连接到heroku,但当我单击deploy分支时,我得到以下错误: !No default language could be detected for this app.See https://devcenter.heroku.com/articles/buildpacks
!Push failed 我想这是因为我的项目有两个文件夹(前端和后端),每个文件夹都有自己的packages.json文件。经过研究,
我正试图找到一种将堆栈设置为“容器”的方法,这样我就可以将我的应用程序部署到一个码头映像中,而不是heroku-18。原因是复杂的,但也是必要的。说我可以在app.json文件中这样做,如下所示:但是,这样做会导致通过联机接口部署时出错:
!No default language could be detected for this app.See https://devcenter.heroku.com/a