Error occurred while loading plugins. CLI functionality may be limited


#1

$ ionic cordova build android
[ERROR] Error occurred while loading plugins. CLI functionality may be limited.
Checking for CLI updates now…
PLUGIN_NOT_INSTALLED
[ERROR] No updates found after plugin error–please report this issue.
? The plugin @ionic/cli-plugin-cordova is not installed. Would you like to install it and continue? No
[ERROR] Unable to find command: cordova build android


#2

answer Yes to install the plugin @ionic/cli-plugin-cordova


#3

I tried that, but the it was not working. It was repeating the same thing over and over again

So, I deleted the node_modules folder and did “npm install”.

It solved my issue