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:
- First by deleting node_modules and package_lock.json file before executing npm i cmd but without success.
- After that, I changed npm and use pnpm cmd, initialisation went well but running the project still display anything.
- I also verified the ignore-scripts key configuration and its value is false.
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