npm具有
ignore-scripts配置密钥。它的期望值是布尔值
false,默认设置为。
可能是由于疏忽而将其设置为
true。
要
get/
set的
ignore-scripts配置,你可以利用NPM-
配置命令:
通过运行以下命令检查其当前设置:
npm config get ignore-scripts
如果上述命令返回,
true
则false
通过运行将其重置为:npm config set ignore-scripts false

npm具有
ignore-scripts配置密钥。它的期望值是布尔值
false,默认设置为。
可能是由于疏忽而将其设置为
true。
要
get/
set的
ignore-scripts配置,你可以利用NPM-
通过运行以下命令检查其当前设置:
npm config get ignore-scripts
如果上述命令返回,
true则
false通过运行将其重置为:
npm config set ignore-scripts false