请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

npm audit fix

无论安装什么依赖最后都会提示
added 1 package from 1 contributor, updated 2 packages and audited 11859 packages in 32.541s
found 6 vulnerabilities (3 moderate, 3 high)
run npm audit fix to fix them, or npm audit for details

然后输入指令 npm audit fix 会提示

npm WARN css-loader@3.2.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN url-loader@2.1.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.

removed 1 package and updated 1 package in 12.378s
fixed 6 of 6 vulnerabilities in 11859 scanned packages

然后再输入npm audit
还是会提示
found 6 vulnerabilities (3 moderate, 3 high) in 11856 scanned packages
run npm audit fix to fix 6 of them.
还是叫我输入npm audit fix,这些是什么意思,是错误吗 用管吗 怎么解决

正在回答 回答被采纳积分+3

1回答

Dell 2019-10-04 15:41:25

你把node_modules删了,然后重新安装一遍就可以了

0 回复 有任何疑惑可以回复我~
  • lhdilll #1
    老师我也是遇到这个问题,包括之前的fastclick的安装。我按照你的方法,删除了node_modules文件夹,并且运行npm install命令安装node_modules 之后  还是提示 :run npm audit fix to fix 6 of them. 
    想安装 stylus   依旧不行,请问怎么解决   卡在这里 课程没办法进行了
    回复 有任何疑惑可以回复我~ 2019-12-20 18:35:31
  • Dell 回复 lhdilll #2
    用手机连接4g,然后分享热点,连接热点安装。或者用cnpm 安装
    回复 有任何疑惑可以回复我~ 2019-12-22 18:36:03
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号