账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    使用webpcak-dev-server 总是警告, 求指教?
    28
    0

    在使用webpack-dev-server时,每次启动或者打包文件,总是会弹出如下警告信息:

    WARNING in ./node_modules/_webpack@3.10.0@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:
    * E:\Project\webpack\node_modules\_webpack@3.10.0@webpack\buildin\global.js
        Used by 1 module(s), i. e.
        E:\Project\webpack\node_modules\_sockjs-client@1.1.4@sockjs-client\dist\sockjs.js
    * e:\Project\webpack\node_modules\_webpack@3.10.0@webpack\buildin\global.js
        Used by 1 module(s), i. e.
        e:\Project\webpack\node_modules\_punycode@1.4.1@punycode\punycode.js
     @ ./node_modules/_webpack@3.10.0@webpack/buildin/global.js
     @ ./node_modules/_sockjs-client@1.1.4@sockjs-client/dist/sockjs.js
     @ ./node_modules/_webpack-dev-server@2.11.1@webpack-dev-server/client/socket.js
     @ ./node_modules/_webpack-dev-server@2.11.1@webpack-dev-server/client?http://localhost:8080
     @ multi ./node_modules/_webpack-dev-server@2.11.1@webpack-dev-server/client?http://localhost:8080 ./m        ain.js
    

    大概看了下,好像是说有两个模块的标识符不一致,主要是 "E" 和 "e"的不同,查找了下别人的回答,说可能是window下盘符大小写的问题。
    但依然不知道怎么解决这个问题。

    我使用的是window系统,vscode里面的命令行,即使换成git bash里面运行webpack-dev-server命令,依然会弹出警告。
    有知道怎么解决的吗?

    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部