How to clean the next cache
Unanswered
Cuvier’s Dwarf Caiman posted this in #help-forum
Cuvier’s Dwarf CaimanOP
I am using nextjs 15 where have remove the certain API endpoint form the files and run the build althrough I am getting I have deleted .next folder and clean the cache while running the build prcess I am getting this issue
Collecting page data .Error: export const dynamic = "force-static"/export const revalidate not configured on route "/api/loadPatterns" with "output: export". See more info here: https://nextjs.org/docs/advanced-features/static-html-export