My nextjs is not compiling

npm

My nextJS app is not compiling;
I first ran NPM BUILD and NPM START. It’s stuck, Anyone has an idea what’s happening?

I mean, what’s at localhost:3000 when you open your browser? The message says everything is fine and is serving whatever you’ve built at that URL, it doesn’t look stuck from the screenshot

I’m pretty sure you have to use npm run dev for next app

1 Like

Yeah, you need to follow the instructions @Jimbalin posted.

It’s working absolutely fine btw, but as you haven’t built anything it’s just going to be serving the basic stuff, not any actual app code that needs compiling, the start code is for running you app in production, on a server, when you’ll already have built the code.