Module not found Error when deployed on Heroku

前端 未结 5 1642
感动是毒
感动是毒 2021-02-14 14:09

I am trying to deploy my app on Github to Heroku but getting error:

ERROR in ./src/Index.tsx Module not found: Error: Can\'t resolve \'./ConfigureStore\

5条回答
  •  臣服心动
    2021-02-14 15:05

    Your file is called configureStore, while you try to import ConfigureStore, it should be with lowerCase "c".

    It works on your machine but Heroku is case sensitive.

提交回复
热议问题