npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gifsicle@5.3.0 postinstall: `node lib/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gifsicle@5.3.0 postinstall 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! /Users/effy/.npm/_logs/2023-08-19T07_10_44_710Z-debug.log
解决办法:
1.删除项目中的node_modules文件夹和package-lock.json文件
2.执行npm install --ignore-scripts
npm install --ignore-scripts