IONIC : A utility CLI has unexpectedly closed

前端 未结 10 2219
半阙折子戏
半阙折子戏 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:49

    I had a similar issue:

    Assertion `args[1]->IsString()' failed.

    A utility CLI has unexpectedly closed

    I fixed that by installing natives lib through npm:

    npm i natives
    

提交回复
热议问题