Skip to content

Warning for brand new project instance: There are multiple modules with names that only differ in casing #648

@YukiDayDreamer

Description

@YukiDayDreamer

I have tried to use the lasted vue-cli to create a completely new webpack template project. But it turns out to be some 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:
* path\to\node_modules\webpack\buildin\global.js
    Used by 2 module(s), i. e.
    path\to\node_modules\punycode\punycode.js
* path\to\node_modules\webpack\buildin\global.js
    Used by 2 module(s), i. e.
    path\to\node_modules\vue\dist\vue.esm.js
 @ (webpack)/buildin/global.js
 @ path/to/node_modules/punycode/punycode.js
 @ path/to/node_modules/url/url.js
 @ (webpack)-dev-server/client?http://localhost:8080
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
msgWarnings @ client?cd17:147
onmessage @ socket.js?e5d0:38
EventTarget.dispatchEvent @ sockjs.js?69b1:170
(anonymous) @ sockjs.js?69b1:883
SockJS._transportMessage @ sockjs.js?69b1:881
EventEmitter.emit @ sockjs.js?69b1:86
WebSocketTransport.ws.onmessage @ sockjs.js?69b1:2957
client?cd17:147 (webpack)/hot/emitter.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:
* path\to\node_modules\webpack\hot\emitter.js
    Used by 1 module(s), i. e.
    path\to\node_modules\webpack-dev-server\client\index.js?http://localhost:8080
* path\to\node_modules\webpack\hot\emitter.js
    Used by 1 module(s), i. e.
    path\to\node_modules\webpack\hot\dev-server.js
 @ (webpack)/hot/emitter.js
 @ (webpack)-dev-server/client?http://localhost:8080
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
msgWarnings @ client?cd17:147
onmessage @ socket.js?e5d0:38
EventTarget.dispatchEvent @ sockjs.js?69b1:170
(anonymous) @ sockjs.js?69b1:883
SockJS._transportMessage @ sockjs.js?69b1:881
EventEmitter.emit @ sockjs.js?69b1:86
WebSocketTransport.ws.onmessage @ sockjs.js?69b1:2957
client?cd17:147 (webpack)/hot/log.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:
* path\to\node_modules\webpack\hot\log.js
    Used by 1 module(s), i. e.
    path\to\node_modules\webpack\hot nonrecursive /^\.\/log$/
* path\to\node_modules\webpack\hot\log.js
    Used by 2 module(s), i. e.
    path\to\node_modules\webpack\hot\dev-server.js
 @ (webpack)/hot/log.js
 @ (webpack)/hot nonrecursive ^\.\/log$
 @ (webpack)-dev-server/client?http://localhost:8080
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions