webpack: Module not found: Error: Can't resolve (with relative path)

前端 未结 10 1972
长情又很酷
长情又很酷 2021-02-05 06:34

I have this structure of an app (node_modules dir excluded from this list):

├── actions.js
├── bundle.js
├── components
│   ├── App.js
│   ├── Foote         


        
10条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-05 07:11

    Your file structure says that folder name is Container with a capital C. But you are trying to import it by container with a lowercase c. You will need to change the import or the folder name because the paths are case sensitive.

提交回复
热议问题