The "next export" command has been removed in favor of "output: export" in next.config.js #54
-
When deploying nextjs webapp, GitHub Action displays |
Beta Was this translation helpful? Give feedback.
Answered by
james-gates-0212
Mar 6, 2024
Replies: 1 comment
-
In If you comment the lines, it works well. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mirror-coder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
.github/workflows/nextjs.yml
, you could find code lines on the red boundary box, as you can see below image.If you comment the lines, it works well.
Because of nextjs14 does not support the command -
next export
, so you don't need the lines.