Next.js Discord

Discord Forum

Next.js terminal says "Compiling /page" (which doesnt seem to exist) then exits all of a sudden

Unanswered
Entlebucher Mountain Dog posted this in #help-forum
Open in Discord
Entlebucher Mountain DogOP
Hi all. I've been struggling on my nextjs site for many hours now. I've setup this nextjs chatbot on my local computer and added in all the environments variables nessisary (invluding KV database, github oauth info, redirect urls and secret keys) but once I authenticate with github on the github site and I am sent back to my site. It always never finishes compiling my homepage. Or that is my understanding anyway. It gets stuck on compiling /page. In the git repository app/page.tsx doesnt even exist so I do not know what is going on. Is there anychance someone could shed some light on this for me as Im out of ideas. There are no errors by the way the server just exists with '0'

PS C:\Users\alexm\Documents\Websites\nextjs-chat> npm run dev --verbose npm verb cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js npm info using npm@10.2.5 npm info using node@v18.19.0 npm verb title npm run dev npm verb argv "run" "dev" "--loglevel" "verbose" npm verb logfile logs-max:10 dir:C:\Users\alexm\AppData\Local\npm-cache\_logs\2023-12-22T23_00_41_143Z- npm verb logfile C:\Users\alexm\AppData\Local\npm-cache\_logs\2023-12-22T23_00_41_143Z-debug-0.log > dev > next dev --turbo ▲ Next.js 14.0.4-canary.17 (turbo) - Local: http://localhost:3000 - Environments: .env.development.local ✓ Ready in 1735ms ○ Compiling /page ... npm verb exit 0 npm info ok PS C:\Users\alexm\Documents\Websites\nextjs-chat>

Repo for the chatbot by the way is https://github.com/vercel/ai-chatbot?tab=readme-ov-file

0 Replies