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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Joshuaschist
    New Member
    • Sep 2020
    • 10

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

    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_module s\babel-loader\lib\inde x.js??ref--6-oneOf-2!C:\Users\Chis om\Desktop\Gith ub\react-tic-tac-toe\node_module s\webpack\build in\global.js
    Used by 1 module(s), i. e.
    C:\Users\Chisom \Desktop\Github \react-tic-tac-toe\node_module s\babel-loader\lib\inde x.js??ref--6-oneOf-2!C:\Users\Chis om\Desktop\Gith ub\react-tic-tac-toe\node_module s\node-libs-browser\node_mo dules\punycode\ punycode.js
    * C:\Users\Chisom \Desktop\Github \react-tic-tac-toe\node_module s\babel-loader\lib\inde x.js??ref--6-oneOf-2!C:\Users\Chis om\desktop\Gith ub\react-tic-tac-toe\node_module s\webpack\build in\global.js
    Used by 1 module(s), i. e.
    C:\Users\Chisom \Desktop\Github \react-tic-tac-toe\node_module s\babel-loader\lib\inde x.js??ref--6-oneOf-2!C:\Users\Chis om\desktop\Gith ub\react-tic-tac-toe\node_module s\mini-create-react-context\dist\es m\index.js

    Search for the keywords to learn more about each warning.
    To ignore, add // eslint-disable-next-line to the line before.
  • SwissProgrammer
    New Member
    • Jun 2020
    • 220

    #2
    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.

    Comment

    • Joshuaschist
      New Member
      • Sep 2020
      • 10

      #3
      I can't identify it either, everything is working fine. Is just the nodejs that is not compiled successfully

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        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

        Comment

        • Joshuaschist
          New Member
          • Sep 2020
          • 10

          #5
          Okay, so what will I do about that?

          Comment

          • Rabbit
            Recognized Expert MVP
            • Jan 2007
            • 12517

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

            Comment

            • Joshuaschist
              New Member
              • Sep 2020
              • 10

              #7
              Its compiled successful now, thanks Rabbit

              Comment

              Working...