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

npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! deasync@0.1.21 install: `node ./build.js`npm ERR! Exit status 1npm 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