发布:2023/12/22 21:01:43作者:管理员 来源:本站 浏览次数:733
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! canvas@2.8.0 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas@2.8.0 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! C:\Users\guofeng25\AppData\Roaming\npm-cache_logs\2022-01-27T05_54_02_864Z-debug.log
解决办法:
npm install canvas@2.8.0 --ignore-scripts
只要是:npm ERR! Failed at the XXX@X.X.X install script 这种错误
都可以:npm install XXX@X.X.X --ignore-scripts进行更改
© Copyright 2014 - 2025 柏港建站平台 ejk5.com. 渝ICP备16000791号-4