簡體   English   中英

為什么我不能在 heroku 上部署我的 React 應用程序?

[英]Why can't i deploy my react app on heroku?

我目前正在上傳我的投資組合,作為反應,在 Heroku 上,構建成功,但我在控制台中收到此錯誤頁面,代碼為 503...這是錯誤:

GET https://mpj-portfolio-app.herokuapp.com/favicon.ico 503 (Service Unavailable)

似乎與 Tailwind 和/或選項卡上顯示的網站圖標有關(我更改了,但后來又改回原來的)

我也在應用程序日志中收到這些錯誤2021-10-21T09:46:40.806231+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=mpj-portfolio-app.herokuapp.com request_id=bd24e409-699a-4687-8871-4ef1b6023e7c fwd="193.253.212.196" dyno= connect= service= status=503 bytes= protocol=https

2021-10-21T09:46:41.308024+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=mpj-portfolio-app.herokuapp.com request_id=0b1515b1-74a1-49ca-9e79-d7b673ad435b fwd="193.253.212.196" dyno= connect= service= status=503 bytes= protocol=https

請幫忙 ?

我找到了這個教程:

https://betterprogramming.pub/how-to-deploy-your-react-app-to-heroku-aedc28b218ae

真的很有幫助,現在我只需要弄清楚如何將 Tailwind 加載到我的頁面

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM