
npm
Lewis-q398529803
这个作者很懒,什么都没留下…
展开
-
found 7 vulnerabilities (5 low, 1 high, 1 critical) run `npm audit fix` to fix them, or `npm audit
1 npm报错记录found 7 vulnerabilities (5 low, 1 high, 1 critical)run npm audit fix to fix them, or npm audit for details2 问题分析vue使用时提示有漏洞,那么就是直接按照后面提示的命令npm audit fix 就可以解决。3 解决问题之后再输入npm cache clean --force清理一下npm的缓存...原创 2021-03-17 14:53:59 · 3976 阅读 · 1 评论 -
解决:Error: Cannot find module ‘node-sass‘问题
解决:Error: Cannot find module 'node-sass’问题解决办法:在项目目录cmd下运行 npm install -g cnpm --registry=https://registry.npm.taobao.org下载成功后再运行 cnpm install node-sass两个都下载成功后就可以正常的运行项目了。若出现cnpm : 无法加载文件 node_global\cnpm.ps1,因为在此系统上禁止运行脚本错误,请参考我的另一篇文章。...原创 2021-03-16 11:04:05 · 605 阅读 · 0 评论 -
cnpm : 无法加载文件 node_global\cnpm.ps1,因为在此系统上禁止运行脚本
1 问题cnpm : 无法加载文件 node_global\cnpm.ps1,因为在此系统上禁止运行脚本cnpm : 无法加载文件 D:\nodejs\node_global\cnpm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com /fwlink/?LinkID=135170 中的 about_Execution_Policies。所在位置 行:1 字符: 1+ cnpm install --save-dev electron+ ~原创 2021-03-16 10:45:26 · 538 阅读 · 0 评论