joschan21 / digitalhippo

A Modern Fullstack E-Commerce Marketplace for Digital Products

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with the sharp module

Shriansh2002 opened this issue · comments

+1 same question

屏幕截图 2023 年 12 月 3 日上午 7 点 26 分 58 秒

You can try changing your node version to 18.19.0. There are no Sharp issues in this release, but there are still new issues

@peng-xiao-shuai can you reshare the image you attached, it is not visible.
Thanks for the fix, I'll try this and try to implement it

@peng-xiao-shuai can you reshare the image you attached, it is not visible. Thanks for the fix, I'll try this and try to implement it

My problem is that I failed to download the sharp module when installing it with yarn install

1704938075258

After the node version is switched to v18.19.0 and libvips is downloaded, yarn install succeeds

1704938278815 1704938542066

So I think that lowering the node version should solve the sharp problem, hopefully it will be useful for you

Okay
Thanks @peng-xiao-shuai ! ❤️