在VSCode终端中安装Gulp包出现 * package is looking for funding run `npm fund..和无法加载文件,在此系统上禁止运行脚本的错误提示一步到位解决

刚刚在学习Gulp工具的时候,在VSCode中使用终端安装包却出现以下错误提示:

错误提示1: high severity vulnerabilities To address issues that do not require attention,run: npm audit fix
在VSCode终端中安装Gulp包出现 * package is looking for funding run `npm fund..和无法加载文件,在此系统上禁止运行脚本的错误提示一步到位解决_第1张图片
错误提示2:package is looking for funding run `npm fund for details.
在VSCode终端中安装Gulp包出现 * package is looking for funding run `npm fund..和无法加载文件,在此系统上禁止运行脚本的错误提示一步到位解决_第2张图片
错误提示3:无法加载文件xxxxxxxx因为在此系统上禁止运行脚本…
请添加图片描述

为一步解决以上错误:
我们来做如下步骤:

  1. 出现图片一所示的错误,可能是因为VSCode默认访问源是国外的,会造成下载不稳定的原因,把下载源改为淘宝源:

step1:查看源:

npm config get registry

你可能感兴趣的:(前端,VSCode,vscode,npm,gulp)