如果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
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。