469,913 Members | 2,648 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,913 developers. It's quick & easy.

How do i fix this Compile with warning? (webpack) building/global js

10 Byte
Compiled with warnings.

(webpack)/buildin/global.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* C:\Users\Chisom\Desktop\Github\react-tic-tac-toe\node_modules\babel-loader\lib\index.js??ref--6-oneOf-2!C:\Users\Chisom\Desktop\Github\react-tic-tac-toe\node_modules\webpack\buildin\global.js
Used by 1 module(s), i. e.
C:\Users\Chisom\Desktop\Github\react-tic-tac-toe\node_modules\babel-loader\lib\index.js??ref--6-oneOf-2!C:\Users\Chisom\Desktop\Github\react-tic-tac-toe\node_modules\node-libs-browser\node_modules\punycode\punycode.js
* C:\Users\Chisom\Desktop\Github\react-tic-tac-toe\node_modules\babel-loader\lib\index.js??ref--6-oneOf-2!C:\Users\Chisom\desktop\Github\react-tic-tac-toe\node_modules\webpack\buildin\global.js
Used by 1 module(s), i. e.
C:\Users\Chisom\Desktop\Github\react-tic-tac-toe\node_modules\babel-loader\lib\index.js??ref--6-oneOf-2!C:\Users\Chisom\desktop\Github\react-tic-tac-toe\node_modules\mini-create-react-context\dist\esm\index.js

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
Sep 25 '20 #1

✓ answered by Rabbit

Update the module identifiers in both places so the casing is equal. Either make them both lower case d or upper case D.

6 5810
SwissProgrammer
213 128KB
I do not see your code that is creating the problem.

I suggest backup your current code; then start stripping out the most recent additions to it until your code works. Then put back in (maybe) only one command at a time while working on each replaced command to fix it. That is the way that I think most programmers might do it.
Sep 27 '20 #2
Joshuaschist
10 Byte
I can't identify it either, everything is working fine. Is just the nodejs that is not compiled successfully
Oct 1 '20 #3
Rabbit
12,516 Expert Mod 8TB
It's just a warning. It's saying your use of case is different. Compare those 2 strings, in one you're using desktop, lower case d. In the other, you're using Desktop, upper case D
Oct 1 '20 #4
Joshuaschist
10 Byte
Okay, so what will I do about that?
Oct 1 '20 #5
Rabbit
12,516 Expert Mod 8TB
Update the module identifiers in both places so the casing is equal. Either make them both lower case d or upper case D.
Oct 1 '20 #6
Joshuaschist
10 Byte
Its compiled successful now, thanks Rabbit
Oct 1 '20 #7

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Oystein Haare | last post: by
6 posts views Thread by calcop | last post: by
3 posts views Thread by Angus | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.