Next.js Discord

Discord Forum

i am getting this error when i do build (Server Actions are not supported with static export.)

Answered
Griffon Bleu de Gascogne posted this in #help-forum
Open in Discord
Griffon Bleu de GascogneOP
how i can fix this
Answered by B33fb0n3
you need to use only the next build command without the static command. Like that you can fix it
View full answer

3 Replies

@Griffon Bleu de Gascogne how i can fix this
you need to use only the next build command without the static command. Like that you can fix it
Answer
Griffon Bleu de GascogneOP
but i want a sepreate folder for build
@Griffon Bleu de Gascogne but i want a sepreate folder for build
yes, that will also happens when you use the next build command