IONIC : A utility CLI has unexpectedly closed

前端 未结 10 2183
半阙折子戏
半阙折子戏 2021-02-04 04:19

I got this error when i run ionic serve The Ionic CLI will exit. Please check any output above for error details.

my ionic info

$ionic info
Ionic:

   i         


        
10条回答
  •  日久生厌
    2021-02-04 04:47

    Try replacing the package.json scripts parts. Worked for me.

      "scripts": {
        "build": "ionic build",
        "serve": "ionic build",
        "start": "npm run serve"
      },
    

提交回复
热议问题