473,402 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

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 7583
SwissProgrammer
220 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

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

Similar topics

1
by: Oystein Haare | last post by:
Note: This might be a bit off topic.. I want to create some global objects that register themselves with another "manager"-class upon creation: class SomeClass { ... }; // cpp:
4
by: japh | last post by:
I just started learning c++ and am at the point of using: #include "myclass.cpp" instead of having the class definition in the main file. But I am getting this warning at compile time: ...
3
by: Eric Lilja | last post by:
Hello, I have a few global variables in my program. One of them holds the name of the application and it's defined in a header file globals.hpp (and the point of definition also happen to be the...
2
by: nfr | last post by:
I keep getting the following warning in my compile: Warning: The dependency 'WBWebServices, Version=1.0.1289.13943, Culture=neutral' in project 'WBWin' cannot be copied to the run directory...
3
by: Ryan | last post by:
My project uses the /ORDER specifier to order functions as specified in file containing the decorated names of packaged functions (COMDATs). I am in the process of upgrading from VC6 to VC.NET 2003....
5
by: Alan Cobb | last post by:
Hi, In the managed C++ class below I get compile warning C4677 from VS2003. "signature of non-private function contains assembly private type", even though the managed enum is public. I have...
6
by: calcop | last post by:
Hello everyone, I hope I can write this question clearly. Anyway, it is about global variables. I have several files in my C++ project. One of which is main.cpp. This file comtains my main()...
3
by: Angus | last post by:
I am getting this error: asn-buf.h(133) : warning C4275: non dll-interface class 'std::basic_streambuf<char,struct std::char_traits<char' used as base for dll-interface class 'SNACC::AsnRvsBuf'...
1
by: Rick | last post by:
I'm in the process of migrating from VS 2003 to VS 2005. One of the compile warnings I am seeing is: "Access of shared member, constant member, enum member or nested type through an instance;...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.