bchiang7 / v4

Fourth iteration of my personal website built with Gatsby
https://v4.brittanychiang.com/
MIT License
7.35k stars 3.6k forks source link

Issues deploying via Netlify #300

Open chasebrownn opened 6 months ago

chasebrownn commented 6 months ago

Hello. I forked your awesome website repo and went to deploy to netlify just to understand the deployment process and even though I can build just fine locally, building when deploying on netlify results in build failures.

My build settings are nothing special, I really only assigned the npm run build command and it knows it's a gatsby project.

When building: image

chasebrownn commented 6 months ago

I should also note that right when I initially deployed to netlify (without making any changes), the project deployed just fine to netlify. Once I deleted yarn.lock to get a safe build locally that's when it started failing netlify.

chandrikadeb7 commented 2 months ago

I should also note that right when I initially deployed to netlify (without making any changes), the project deployed just fine to netlify. Once I deleted yarn.lock to get a safe build locally that's when it started failing netlify.

Make sure you remove the node_modules and go via npm install --force command