ethereum / ethereum-org-website

Ethereum.org is a primary online resource for the Ethereum community.
https://ethereum.org/
MIT License
5.04k stars 4.78k forks source link

Force to use sharp v0.32 #13221

Closed pettinarip closed 3 months ago

pettinarip commented 3 months ago

Running yarn dev crashes because it expects sharp which is not installed since we only installed it on Netlify contexts for reasons explained in #12957.

Description

This fix reverts the changes made in #12957 to install sharp. It now forces the installation of sharp@v0.32.6 as this version does not cause problems with local and netlify envs. sharp is currently installed by @storybook/nextjs.

Consider this a temporary solution until we find a better way to install the latest version and avoid problems with different envs.

Related Issue

12957

netlify[bot] commented 3 months ago

Deploy Preview for ethereumorg ready!

Name Link
Latest commit 22dc1ef88c4e40091643dff417ee94bda121c5f8
Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/667585f5fded320008b4d6d4
Deploy Preview https://deploy-preview-13221--ethereumorg.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
7 paths audited
Performance: 45 (🔴 down 2 from production)
Accessibility: 92 (no change from production)
Best Practices: 83 (🔴 down 9 from production)
SEO: 93 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.