[ https://issues.apache.org/jira/browse/CB-13825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra resolved CB-13825. ----------------------------------- Resolution: Fixed Fix Version/s: 4.1.0 > Outdated node_modules > --------------------- > > Key: CB-13825 > URL: https://issues.apache.org/jira/browse/CB-13825 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-osx > Affects Versions: 4.1.0 > Reporter: Alberto Lalama > Assignee: Tobias Bocanegra > Priority: Major > Fix For: 4.1.0 > > > Commit [f7db769af|https://github.com/apache/cordova-osx/pull/43] updated > cordova-common to v2.1.0 without updating node_modules. This means that > pinning cordova-osx to the github repo in config.xml fails to install plugins > with the following error: > Installing "cordova-plugin-whitelist" for osx > Failed to install 'cordova-plugin-whitelist':TypeError: Cannot read property > 'get' of undefined > at Api.addPlugin (platforms/osx/cordova/Api.js:187:25) > at handleInstall (cordova-lib/src/plugman/install.js:611:6) > at node_modules/cordova-lib/src/plugman/install.js:407:28 > at _fulfilled (node_modules/cordova-lib/node_modules/q/q.js:787:54) > at self.promiseDispatch.done > (node_modules/cordova-lib/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch > (node_modules/cordova-lib/node_modules/q/q.js:749:13) > at node_modules/cordova-lib/node_modules/q/q.js:509:49 > at flush (node_modules/cordova-lib/node_modules/q/q.js:108:17) > at _combinedTickCallback (internal/process/next_tick.js:131:7) > at process._tickCallback (internal/process/next_tick.js:180:9) > Failed to restore plugin "cordova-plugin-whitelist" from config.xml. You > might need to try adding it again. Error: TypeError: Cannot read property > 'get' of undefined > > A straightforward solution would be to update node_modules (cordova-ios seems > to do this regularly). Could we use a dependency manager (e.g. yarn)? Any > other suggestions? > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org