我有一个将axios请求提交到NodeJS后端服务器的MERN应用程序,但是由于某种原因,这些请求被发送到前端而不是后端。在本地设置时,该应用程序运行良好,但在Heroku上会出现以下错误:
GET https://heroku-app-name.herokuapp.com/app/order?为什么后端的代理不再工作?
我正在开发一个MERN应用程序,差不多完成了,剩下的工作就是部署它了。当我在本地运行应用程序时,它工作得很好,但我部署到Heroku时,在浏览器控制台中得到以下错误: frozen-basin-00083.herokuapp.com/:1 Failed to load resource: the server responded with a status of 503 (Service
我成功地将我的MERN应用程序部署到Heroku,但在访问该站点时,它显示Application Error。Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime和错误代码h10/ status 503。我在Mac上反复更新了Sass,Node Sass Middleware,NPM和所有建议的东西。