Nextjs esperando el problema de compilación
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