Next.js Discord

Discord Forum

Build error using generateStaticParams with stripe response.

Unanswered
Cinnamon posted this in #help-forum
Open in Discord
CinnamonOP
I'm generating a static build and uploading it to a server.

I'm using "next": "14.1.3" with my next.configs set to:
trailingSlash: true,
output: "export",

On my dynamic server app/product/[id]/page I'm using a stripe client to generateStaticParams and pass the the id to an AddToCart client component.

Any resources or direction would be appreciated.

0 Replies