Static Site Build Errors From Parallel and Intercepting routes
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
Hey all,
I have been working through making my application able to build statically (next.config output = export). Building my regular dynamic routes works, but when I introduced my parallel intercepting routes for displaying modals I receive this build error for my dynamic parallel intercepting routes (@transactionmodal):
Additionally, this is the folder structure of my app router:
I have been working through making my application able to build statically (next.config output = export). Building my regular dynamic routes works, but when I introduced my parallel intercepting routes for displaying modals I receive this build error for my dynamic parallel intercepting routes (@transactionmodal):
is missing "generateStaticParams()" so it cannot be used with "output: export" config.
. Each of my intercepting routes exports a generateStaticParams function, so I am believing this is a bug. Does anyone have a work around to fix parallel intercepting routes if this is a bug or a solution to get these routes to work with static sites?Additionally, this is the folder structure of my app router:
/finance
/(dashboard)
/@transactions
loading.tsx
page.tsx
layout.tsx
/@transactionmodal
/(.)transaction
/create
page.tsx
/edit/[id]
clientPage.tsx
loading.tsx
page.tsx
/view/[id]
clientPage.tsx
loading.tsx
page.tsx
/transaction
/create
loading.tsx
page.tsx
/edit/[id]
clientPage.tsx
loading.tsx
page.tsx
/view/[id]
clientPage.tsx
loading.tsx
page.tsx
layout.tsx
loading.tsx
page.tsx
layout.tsx
loading.tsx
page.tsx