为了账号安全,请及时绑定邮箱和手机立即绑定

webpack安装jquery报错

webpack安装jquery报错

慕粉3422128 2019-04-25 11:43:52
npm WARN webpack-cli@3.3.0 requires a peer of webpack@4.x.x but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.8 (node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})+ webpack-cli@3.3.0updated 1 package and audited 2240 packages in 34.068sfound 1 low severity vulnerability  run `npm audit fix` to fix them, or `npm audit` for details已经正确安装了 webpack1.13.2
查看完整描述

1 回答

已采纳
?
pardon110

TA贡献1038条经验 获得超227个赞

报错信息提醒,webpack-cli与webpack版本不兼容,如果你不会选版本,二者皆装最新版本,也就是不指定版本号安装就是了。

查看完整回答
反对 回复 2019-04-25
  • 1 回答
  • 0 关注
  • 2253 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信