Replit fails to compile pages in NextJS 13

Bug description:
Replit fails to compile pages in NextJS 13

Expected vs Current Behavior:
Expected to compile the pages

Currently it does not compile the home page or any page for that matter.

Steps to reproduce:
Created NextJS app from scratch
Using Node v18

Bug appears at this link: https://replit.com/~?supportform=true
https://replit.com/@slay3r9903/TestNextJS

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.188

Replit Profile: https://replit.com/@slay3r9903

1 Like

Not sure if next.js 13 is compatible with replit yet :thinking: Does anyone know if it is?

1 Like

the official template works on next.js 13

1 Like

Thank you for the clarification, I think you can just add app to the repl right?

to fix your own repl: click ⋮ > Show hidden files in the sidebar, and

1 Like