Recently while working with Webpack, I saw this error.
WARNING in ./app/components/students.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.
WARNING in ./app/components/Students.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.
It seems self-explanatory, but you'll still see errors like this even if all of your files may be named exactly right.
This error isn't caused by how your files are named, but by import
statements. You're likely using import
on a file in the lower case while the file is actually named uppercase (or vice-versa).
The simple fix is to check all of your file imports.
Hope this saves you some troubleshooting time!