[
https://issues.apache.org/jira/browse/CB-9976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15006777#comment-15006777
]
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 prepare.
Here is the proposed fix: https://issues.apache.org/jira/browse/CB-9976
> Updating to cordovaLib 5.4.0 breaks ios installed plugins
> ---------------------------------------------------------
>
> Key: CB-9976
> URL: https://issues.apache.org/jira/browse/CB-9976
> 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 cli.
> Have to remove and add plugins manually to get plugins working again.
> Reproduce (need to use npm < 3):
> npm install -g [email protected]
> 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 [email protected]
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]