Несколько модулей с именами, которые отличаются только предупреждением об обсадной колонне - PullRequest
0 голосов
/ 06 февраля 2020

У меня есть сайт Gatsby JS, который я создаю. На этом сайте я получаю предупреждение о наличии «нескольких модулей с именами, которые отличаются только регистром». Дело в том, что, насколько я знаю, у меня нет нескольких модулей с именами, которые отличаются только регистром.

Вот полное предупреждение:

./src/ui/Components/button.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:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\Components\button.js    

Used by 2 module(s), i. e.    
C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\Components\index.js* C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\components\button.js    

Used by 2 module(s), i. e.    
C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\components\index.js./src/ui/Components/dropdown.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:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\Components\dropdown.js    

Used by 2 module(s), i. e.    
C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\Components\index.js* C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\components\dropdown.js    

Used by 2 module(s), i. e.    
C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\components\index.js./src/ui/Components/index.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:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\Components\index.js    

Used by 18 module(s), i. e.    
C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\layouts\main\components\news-articles.js* C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\components\index.js    

Used by 5 module(s), i. e.    
C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\forms\contact.js./src/ui/Components/input.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:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\Components\input.js    

Used by 2 module(s), i. e.    
C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\Components\index.js* C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\components\input.js    

Used by 2 module(s), i. e.    
C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\components\index.js./src/ui/Components/list.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:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\Components\list.js    

Used by 2 module(s), i. e.    
C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\Components\index.js* C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\components\list.js    

Used by 2 module(s), i. e.    
C:\code\projects\Startup Reporter\styled-1\node_modules\gatsby\dist\utils\babel-loader.js??ref--4-0!C:\code\projects\Startup Reporter\styled-1\node_modules\eslint-loader\index.js??ref--11-0!C:\code\projects\Startup Reporter\styled-1\src\ui\components\index.js

Есть идеи, почему я получаю это сообщение и что я могу сделать, чтобы решить эту проблему?

Спасибо.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...