4dc077956d
Fixes #20408 Fixes #20925
489 B
489 B
Cannot output to /static
Why This Error Occurred
Either you set distDir
to static
in your next.config.js
or during next export
you tried to export to the static
directory.
This is not allowed due to static
being a special folder in Next.js used to serve static assets.
Possible Ways to Fix It
Use a different distDir
or export to a different folder.