Plugin error while creating ionic application

during the build of the ionic application this error is displayed:

An error occurred while executing a command from the CLI plugin (@ ionic / cli-plugin-cordova). Your plugins may be deprecated. TypeError: env.runcmd is not a function

+6
source share
2 answers

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

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

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

This will install the latest version of the Ionic CLI (currently 3.7.0) worldwide and locally. After that, the error should no longer appear.

+15

cli 3.6.0, . .

0

All Articles