Ionic serve error (fresh start ionic-react app)

Running ionic serve after a fresh installed ionic react application

Steps to reproduce:

  1. ionic start
  2. select react
  3. ionic serve

Dependencies below

"dependencies": {
    "@capacitor/core": "2.2.0",
    "@ionic/react": "^5.0.7",
    "@ionic/react-router": "^5.0.7",
    "@testing-library/jest-dom": "^4.2.4",
    "@testing-library/react": "^9.4.0",
    "@testing-library/user-event": "^8.0.3",
    "@types/jest": "^24.0.25",
    "@types/node": "^12.12.24",
    "@types/react": "^16.9.17",
    "@types/react-dom": "^16.9.4",
    "@types/react-router": "^5.1.4",
    "@types/react-router-dom": "^5.1.3",
    "axios": "^0.19.2",
    "ionicons": "^5.0.0",
    "react": "^16.13.0",
    "react-dom": "^16.13.0",
    "react-router": "^5.1.2",
    "react-router-dom": "^5.1.2",
    "react-scripts": "3.4.1",
    "typescript": "3.8.3"
  }

Workspace Used:

Windows 10, node version 6.12.1, ionic 6.9.1
Any steps how to solve this error?

That’s a very old Node version. I suggest getting the latest LTS i.e. v12.x as a first step.