Why can't my Repl run a basic NextJS project?

Bug description:
My basic NextJs project cant run on a Repl

Expected vs Current Behavior:
Expected: I can run a basic NextJS project in a Repl
Actual: I can’t run a basic NextJS project in a Repl

Steps to reproduce:

  • I clone a Repl from a GitHub repo which is a basic NextJS project.
  • I click the Run button.
  • The webview never loads.
  • Console output is:  esbuild index.ts --bundle --log-level=warning --outdir=./.build --outbase=. --sourcemap=inline --target=node16 --platform=node --format=cjs

Bug appears at this link: https://replit.com/@sbddesign/bitdevs-upgrade

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

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

Hi @sbddesign ,welcome to the forums!
Which file do you want to run in your repl?

1 Like