如果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

直接安装

npm install deasync@0.1.21 --ignore-scripts

jiaoshengkang
9 声望1 粉丝

厨房诗人,编码爱好者,吉他粉丝。