How to resolve ‘module not found’ when import cannot find the files.

Taewapon B.
Mar 12, 2023

--

Easy, simply just use a short git command!

Photo by Manja Vitolic on Unsplash

Module not found: Error: Can’t resolve ‘./data/ItemList’ in…

This error can appear when a static import statement cannot find the file at the declared path. but by simply using this command.

git config core.ignorecase false

git will now detect a different between letter-casing on your local machine and your repository. all you need to do now is to push your change to your repository!

--

--