NextJs ждет проблемы скомпилирования
it is related to the fact that your pages contains upper case folder or file.
Please check folder and file inside pages and convert into small
//pages\news\[slug].tsx not pages/News/[slug].tsx
Shirshak kandel