0

I am trying to run the next.js app using npm run dev. But the development server is not started. I have latest node version in my system. It is any issues in VS Code.

I attached the photo of when i run the app.

enter image description here

Here is package.json file.

{
  "name": "my-app",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@next/font": "13.1.1",
    "next": "13.1.1",
    "react": "18.2.0",
    "react-dom": "18.2.0"
  }
}

OS: macOS Catalina (Version 10.15)

Any Suggestions or advice.

Thank You.

Vicky
  • 157
  • 1
  • 10

1 Answers1

0

I do not know what exactly the issue is - but looks like it's related to the macOS Catalina and Next version 13. I have the same issue on this OS, if you will switch to the Next version 12 (this is worked for me) it should be resolved, or you need to upgrade your system. (Also you could try with Node 18...)

Denis
  • 21
  • 1