Manifest.json Unexpected Token

前端 未结 6 1117
被撕碎了的回忆
被撕碎了的回忆 2021-02-10 20:30

Hello I pushed a react/express project up to heroku (https://polar-oasis-57801.herokuapp.com/) and received the following errors in the console: Chrome console error messages

6条回答
  •  走了就别回头了
    2021-02-10 20:56

    I added this change "/cat-cards/" in my server.js file so now it's app.use("/cat-cards/", express.static("client/build"));. Adding that change and pushing to Heroku made my website work. This helped me: https://github.com/facebook/create-react-app/issues/1812#issuecomment-286511320

提交回复
热议问题