npm run dev 出现警告

 1 WARNING in ./node_modules/_webpack@3.10.0@webpack/buildin/global.js
 2 There are multiple modules with names that only differ in casing.
 3 This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
 4 Use equal casing. Compare these module identifiers:
 5 * E:Projectwebpack
ode_modules\_webpack@3.10.0@webpackuildinglobal.js
 6     Used by 1 module(s), i. e.
 7     E:Projectwebpack
ode_modules\_sockjs-client@1.1.4@sockjs-clientdistsockjs.js
 8 * e:Projectwebpack
ode_modules\_webpack@3.10.0@webpackuildinglobal.js
 9     Used by 1 module(s), i. e.
10     e:Projectwebpack
ode_modules\_punycode@1.4.1@punycodepunycode.js
11  @ ./node_modules/_webpack@3.10.0@webpack/buildin/global.js
12  @ ./node_modules/_sockjs-client@1.1.4@sockjs-client/dist/sockjs.js
13  @ ./node_modules/_webpack-dev-server@2.11.1@webpack-dev-server/client/socket.js
14  @ ./node_modules/_webpack-dev-server@2.11.1@webpack-dev-server/client?http://localhost:8080
15  @ multi ./node_modules/_webpack-dev-server@2.11.1@webpack-dev-server/client?http://localhost:8080 ./main.js

把node_modules包删除,然后重新安装一下

原文地址:https://www.cnblogs.com/it-Ren/p/10597833.html