rsnext/errors/can-not-output-to-public.md
stefanprobst 279ae19c7e
docs: update links to docs site (#14305)
this updates some links to the docs site to their new location
2020-06-18 09:54:07 +00:00

489 B

Cannot output to /public

Why This Error Occurred

Either you set distDir to public in your next.config.js or during next export you tried to export to the public directory.

This is not allowed due to public 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.