dpa99c / cordova-check-plugins

A CLI tool to check for / manage plugin updates in Cordova/Phonegap projects.
217 stars 25 forks source link

strange error on running with --update #30

Closed miltonhowe closed 6 years ago

miltonhowe commented 6 years ago

I get the following error:

Cannot update plugin 'true' as it is not installed in the project

Failed to update all specified plugins

When I run with --update without the = parameter.

Perhaps a better error indicating how to use it.

dpa99c commented 6 years ago

As per documentation: --update={mode|pluginIds}

i.e. --update=auto, --update=interactive, --update={pluginId[s])

but not --update

miltonhowe commented 6 years ago

You are correct, a detailed examination of the documentation provided the solution, which worked for me. Nonetheless I humbly suggest that the error message when you provide the --update flag with no mode parameter could be improved from the one I received.