1

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.
4
  • You need to run npm install Commented Oct 20, 2023 at 10:45
  • 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 Thanks in advance ! Commented Oct 20, 2023 at 12:30
  • meta.stackoverflow.com/questions/285551/… Commented Oct 23, 2023 at 1:29
  • please always add such details to your question instead of comments @Cisco_dev_sn Commented Oct 23, 2023 at 2:12

1 Answer 1

0

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.