当前位置: 首页 > 工具软件 > libvips > 使用案例 >

服务器运行报错记录 npm ERR! sharp@0.26.2 install: `(node install/libvips && node

赫连瀚
2023-12-01
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sharp@0.26.2 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sharp@0.26.2 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!     /root/.npm/_logs/2020-12-21T07_54_46_771Z-debug.log

由于权限问题 ,所以安装的时候要加上---unsafe-perm

npm install ---unsafe-perm

 

 类似资料: