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:\Project\webpack\node_modules\_webpack@3.10.0@webpack\buildin\global.js
 6     Used by 1 module(s), i. e.
 7     E:\Project\webpack\node_modules\_sockjs-client@1.1.4@sockjs-client\dist\sockjs.js
 8 * e:\Project\webpack\node_modules\_webpack@3.10.0@webpack\buildin\global.js
 9     Used by 1 module(s), i. e.
10     e:\Project\webpack\node_modules\_punycode@1.4.1@punycode\punycode.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包删除,然后重新安装一下


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM