reactjsnpmnext.jspnpmnpm-run

"npm/pnpm run dev" doesn't display anything


I'm on windows 11 and I'm working in a nextjs project . After initializing my project using "npx create-next-app@latest", I executed the command "npm run dev" but it display anything even though the initialisation went well .

enter image description here problem to solve


(from comment)

I have tried many solutions:


Solution

  • I had the same error, it may be worth to just insert your http://localhost:3000 or whatever serveraddress you use into your browser. After the browser shows the website, more information appears in the terminal