当前位置: 首页 > 工具软件 > build-scripts > 使用案例 >

npm install 报错 --ignore-scripts

欧阳安晏
2023-12-01

如果npm install报错,单独安装这个包,加上参数:–ignore-scripts

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! deasync@0.1.21 install: `node ./build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the deasync@0.1.21 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     D:\jskExtensions\nodejs\node_cache\_logs\2021-05-28T07_12_18_267Z-debug.log

单独安装该报错的包,这里使用 --ignore-scripts 安装。

npm install deasync@0.1.21 --ignore-scripts
 类似资料: