This repository was archived by the owner on Dec 20, 2024. It is now read-only.
How can I clean the build cache? #457
|
Same issue in Next.js. Resolved by delete node_modules and reinstall. But dont work in vercel deployment, because it use the build cache. How to clean build cache? |
Answered by
styfle
May 28, 2020
Replies: 4 comments 5 replies
|
Hi @thomaszdxsn If you're deploying using the git integration, you can click the "Redeploy" button.
If you deploy with Vercel CLI you can use |
0 replies
Answer selected by
styfle
|
Is there a way to not cache deployments in the first place? It keeps creating failed builds.. |
3 replies
|
hey, jumping into the conversation => is there a way to clear the build cache using the REST API ? |
2 replies
|
Hey, you can also set this env variable |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @thomaszdxsn
If you're deploying using the git integration, you can click the "Redeploy" button.
If you deploy with Vercel CLI you can use
vercel --forceflag.