fix: let sharp be optional

This commit is contained in:
ikechan8370 2023-02-25 15:58:16 +08:00
parent 5fceef37ec
commit 94c655367e
4 changed files with 15 additions and 2 deletions

View file

@ -72,7 +72,11 @@ pnpm i
> 3. 使用vnc客户端连接至云桌面
>
> 右键Applications > Shells > Bash打开终端然后进入Yunzai目录下运行node app即可。
>
> 4. 执行pnpm i时sharp安装失败
>
> sharp不影响chatgpt聊天仅影响Dalle2绘图功能。ubuntu可以执行`apt install libvips-dev`之后再`pnpm i`
>
> 实测该方案资源占用低运行稳定基本1核2G的轻量云服务器就足够了。
---