刚刚在学习Gulp工具的时候,在VSCode中使用终端安装包却出现以下错误提示:
错误提示1: high severity vulnerabilities To address issues that do not require attention,run: npm audit fix
错误提示2:package is looking for funding run `npm fund for details.
错误提示3:无法加载文件xxxxxxxx因为在此系统上禁止运行脚本…
为一步解决以上错误:
我们来做如下步骤:
- 出现图片一所示的错误,可能是因为VSCode默认访问源是国外的,会造成下载不稳定的原因,把下载源改为淘宝源:
step1:查看源:
npm config get registry