问答详情
源自:2-3 webpack-dev-server的配置和使用

这是啥错误,求大神

https://img2.mukewang.com/5af28d64000172d209440534.jpg

错误内容是


提问者:qq_有故事的人_1 2018-05-09 13:56

个回答

  • qq__9608
    2018-06-06 21:37:31

    解决了吗?

  • 慕粉1471441625
    2018-05-30 15:36:29

    "cross-env": "^5.1.6",

    "css-loader": "^0.28.11",

    "file-loader": "^1.1.11",

    "html-webpack-plugin": "^3.2.0",

    "style-loader": "^0.21.0",

    "stylus": "^0.54.5",

    "stylus-loader": "^3.0.2",

    "url-loader": "^1.0.1",

    "vue": "^2.5.16",

    "vue-loader": "^14.0.3",

    "vue-template-compiler": "^2.5.16",

    "webpack": "^4.10.1",

    "webpack-cli": "^2.1.4",

    "webpack-dev-server": "^3.1.4"

    复制后重新npm install

    好像是webpack和vue-loader的版本问题

    很奇怪

  • troyyou
    2018-05-21 15:51:19

    降低webpack-cli版本到1.5.3

  • qq_忆往昔_6
    2018-05-18 12:33:09

    大佬解决了吗

  • 慕仰3170321
    2018-05-10 00:28:21

    我怎么发不来问题啊??只能回复别人的。

  • womyhui3549882
    2018-05-09 14:26:08

    npm install -D webpack-cli


  • kaikai09
    2018-05-09 14:23:14

    可以参考该链接地址:https://blog.csdn.net/bai_riqiang/article/details/80063774