rsnext/errors/public-next-folder-conflict.md
JJ Kasper 4e9e51035e Match public files priority in dev (#8641)
* Match public files priority in dev

* Remove un-needed old public file handling

* Run public file priority test for non-dev also

* Make sure to enable publicDirectory

* Add checking for conflicting pages in dev and during build

* Add error for public dir middleware conflict

* Add err.sh for _next conflict

* Move up public dir conflict checking

* Only run _next conflict check in dev when path contains it
2019-09-16 23:06:30 +02:00

9 lines
369 B
Markdown

# Public \_next folder Conflict
#### Why This Error Occurred
In your `./public` folder you added a `_next` folder which conflicts with the internal usage of `_next`. Due to this conflicting this folder name is not allowed inside of your `public` folder.
#### Possible Ways to Fix It
Rename the `_next` folder in your `public` folder to something else or remove it.