Plugin error while building ionic app

前端 未结 2 1895
小蘑菇
小蘑菇 2021-01-12 23:39

during build ionic app, this error is shown:

Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins

相关标签:
2条回答
  • 2021-01-13 00:16

    This error message indicates that the Ionic CLI version is incompatible with other CLI plugins (see https://github.com/ionic-team/ionic/issues/12561).

    Please run the following commands in your project directory (where you package.json is):

    npm i -g ionic@latest
    npm i --save-dev --save-exact ionic@latest
    

    This will install the latest Ionic CLI version (currently 3.7.0) globally and locally. After that the error should no longer occur.

    0 讨论(0)
  • 2021-01-13 00:37

    If you have ionic cli version lower than 3.6.0 try to update it. It resolved the issue for me.

    0 讨论(0)
提交回复
热议问题