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