Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues deploying via Netlify #300

Open
chasebrownn opened this issue Jan 9, 2024 · 2 comments
Open

Issues deploying via Netlify #300

chasebrownn opened this issue Jan 9, 2024 · 2 comments

Comments

@chasebrownn
Copy link

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
Copy link
Author

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants