美文网首页
安装sharp时报错问题解决

安装sharp时报错问题解决

作者: 北雁南飞_8854 | 来源:发表于2022-12-10 15:08 被阅读0次

安装sharp时提示:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sharp@0.28.3 install: (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sharp@0.28.3 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! /Users/ChrisYang/.npm/_logs/2022-12-10T07_05_24_750Z-debug.log

解决办法:
npm install sharp@0.28.3 --ignore-scripts

相关文章

  • 安装sharp时报错问题解决

    安装sharp时提示:npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ER...

  • Mac 安装SVN 报错问题解决

    Mac 安装SVN 报错问题解决 问题一下载 需要先安装 brew 这里要注意: 使用国外镜像,最终也会报错所以使...

  • Ubuntu 安装MySQL

    执行安装脚本 安装中报错: 原因: apt软件源问题解决方案: etc/apt/sources.list 内容替换...

  • 2021-12-13 mac 安装 nginx 踩坑(M1 芯片

    问题一 没有 brew 安装 brew 问题二 brew update 报错 问题解决 问题三 不支持安装 ARM...

  • sharp 安装过慢

    安装过程中遇到sharp安装慢 安装过程中遇到sharp安装慢,有时等一天也未必完装成功。常见办法,改变“源”如淘...

  • tp5+workman 案例

    1.安装问题 使用官方手册安装: 会报错: 错误原因:是workerman版本的问题解决办法: 如果需要在wind...

  • 配置问题(二)

    安装时出现这类错误 问题解决

  • Flutter安装 Android license status

    1. Windows 安装 问题: flutter doctor 提示错误信息 问题解决 从报错提示来看,需要添加...

  • python3.7不兼容pyspider

    好不容易才把上一个无法安装的问题解决。然后又继续报错,这次的报错更为严重。 报错信息为: 原因分析: async和...

  • The engine "node" is incompatibl

    yarn安装项目依赖包时报错,node版本不兼容问题解决方式 重新安装node为提示的版本; 配置忽略node引擎...

网友评论

      本文标题:安装sharp时报错问题解决

      本文链接:https://www.haomeiwen.com/subject/rybzfdtx.html