欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

服务器连接问题记录:Cannot find module ‘../build/Release/sharp.node‘

程序员文章站 2022-05-30 21:09:54
...
[2020-12-12T11:47:05.315Z] debug ⛔️ Server wasn't able to start properly.
[2020-12-12T11:47:05.318Z] error Error:
Something went wrong installing the "sharp" module

Cannot find module '../build/Release/sharp.node'
Require stack:

npm install sharp --unsafe-perm

总结:当出现Something went wrong installing the "sharp" module时,安装报错的“sharp”,并且加上--unsafe-perm ,这是权限问题

相关标签: 服务器