Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

How to keep my plugins in package.json clean?

$
0
0

Thanks for your answer. I managed to reset with ionic state reset multiple times without an error when I add an explicit version number to each plugin.

The strange thing is, when I add

"cordova-plugin-statusbar@^2.1.0"

it additionally adds

"cordova-plugin-statusbar@^2.0.0"

that these plugin is defined twice.


Edit: In my config.xml file a had the following line:

<plugin name="cordova-plugin-statusbar" spec="^2.1.0"/>

When changing to 2.2.0 it works as expected.

Who can explain me the difference between config.xml and package.json? :smirk:


Viewing all articles
Browse latest Browse all 228595

Trending Articles