Can't deploy my website

Please let me know how to solve this issue - Thankyou

infallible-goldstine-d8ed86.netlify.app

Error:
[4/4] Building fresh packages…
5:04:43 PM: error /opt/build/repo/node_modules/gatsby-plugin-manifest/node_modules/sharp, /opt/build/repo/node_modules/gatsby-plugin-sharp/node_modules/sharp, /opt/build/repo/node_modules/gatsby-transformer-sharp/node_modules/sharp: Command failed.
5:04:43 PM: Exit code: 1

LINK TO THE FULL LOG

can you paste the full build log please? thanks.

Here’s the link to the full log

Also, I can run my website locally

Hey @msaqibdani,
This looks very similar to the issue you’re running into:

This is the yarn version you’re installing:
2:11:18 PM: Installing yarn at version 1.22.4

Could you please try setting YARN_VERSION = 1.4.0 in the build environment as suggested in that thread and let us know if that fixes things for you?

Yes it worked! I also had to downgrade node version to 10.0.0 in order for it to make it work.

Thank you so much for your help :slight_smile:

Awesome, glad to hear it :partying_face: