The provided export path doesn't match the page
Answered
Bengal posted this in #help-forum
BengalOP
Hi! I have a path like
something/[slug] then something/page/[page] and I keep getting this error https://nextjs.org/docs/messages/export-path-mismatch, yet when I try to apply that to test it out, the exportPathMap is not usable on the app router. Will I have to change my paths? All are statically generatedAnswered by Bengal
Issue was that some [slug] was either null or undefined. Resolved.
4 Replies
are you using App Routing or Pages Routing?
BengalOP
Using the app router
then idk how to help you, sorry
BengalOP
Issue was that some [slug] was either null or undefined. Resolved.
Answer