cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <>
Subject [jira] [Commented] (CB-9976) Updating to cordovaLib 5.4.0 breaks ios installed plugins
Date Mon, 16 Nov 2015 15:26:11 GMT


Vladimir Kotikov commented on CB-9976:

I vote for second option here with a small update - reinstall plugins for platforms (not for
the whole project). Reinstalling IMO should be safe, since we treating platform as a build
artifacts. Also readding plugins will trigger regenerating {{cordova_plugins.js}}, so correct
metadata will be added automatically, without need for calling {{_writePluginModules}} in

Here is the proposed fix:

> Updating to cordovaLib 5.4.0 breaks ios installed plugins
> ---------------------------------------------------------
>                 Key: CB-9976
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>            Reporter: Steve Gill
>            Assignee: Steve Gill
> cordova_plugins.js doesn't get created for ios when updating from an older cli to a newer
> Have to remove and add plugins manually to get plugins working again.
> Reproduce (need to use npm < 3):
> npm install -g cordova@5.3.3
> cordova create helloWorld
> cd helloWorld
> cordova platform add ios
> cordova plugin add cordova-plugin-device
> cordova prepare (helloWorld/platforms/ios/www/cordova_plugins.js is created)
> npm install -g cordova@5.4.0
> cordova prepare (helloWorld/platforms/ios/www/cordova_plugins.js doesn't exist)
> `helloWorld/platforms/ios/ios.json` is also incorrect in the updated version. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message