cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10583) Adding multiple platforms at once fails to install plugin(s) from a Git repo
Date Thu, 25 Feb 2016 08:48:18 GMT

    [ https://issues.apache.org/jira/browse/CB-10583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15166934#comment-15166934
] 

ASF GitHub Bot commented on CB-10583:
-------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-lib/pull/400

    CB-10583 Protect plugin preferences from adding extra Array properties

    JIRA [CB-10583](https://issues.apache.org/jira/browse/CB-10583)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-lib CB-10583

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/400.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #400
    
----
commit 882297b6d98f758b0be318580413304128f77dd1
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
Date:   2016-02-25T08:45:22Z

    CB-10583 Protect plugin preferences from adding extra Array properties

----


> Adding multiple platforms at once fails to install plugin(s) from a Git repo
> ----------------------------------------------------------------------------
>
>                 Key: CB-10583
>                 URL: https://issues.apache.org/jira/browse/CB-10583
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.0.0
>         Environment: OS: Mac OS X El Capitan
> Node Version: v4.3.0
> Xcode version: Xcode 7.2.1 Build version 7C1002 
> Cordova CLI: 6.0.0
>            Reporter: Zarko Hristovski
>            Assignee: Vladimir Kotikov
>              Labels: mustfix, triaged
>         Attachments: configTest.zip
>
>
> I get a plugin installation failure when trying to add both ios and android as platforms
at the same time. But this seems to happen only when the plugin spec value points to its Git
repository.
> I have
> {noformat}
> <plugin name="cordova-plugin-crosswalk-webview" spec="https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview.git#master"
/>
> {noformat}
> specified in the config.xml
> {noformat}
> $ cordova platform add ios android
> Adding ios project...
> Running command: /Users/zarko/.cordova/lib/npm_cache/cordova-ios/3.9.2/package/bin/create
/Users/zarko/temp/configTest/platforms/ios io.cordova.hellocordova HelloCordova --cli
> iOS project created with cordova-ios@3.9.2
> Discovered plugin "cordova-plugin-crosswalk-webview" in config.xml. Installing to the
project
> Fetching plugin "https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview.git"
via git clone
> Repository "https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview.git"
checked out to git ref "master".
> Installing "cordova-plugin-crosswalk-webview" for ios
> /Users/zarko/temp/configTest/platforms/ios/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
> /Users/zarko/temp/configTest/platforms/ios/HelloCordova.xcodeproj/project.pbxproj
> /Users/zarko/temp/configTest/platforms/ios/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
> /Users/zarko/temp/configTest/platforms/ios/HelloCordova.xcodeproj/project.pbxproj
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Adding android project...
> Creating Cordova project for the Android platform:
> 	Path: platforms/android
> 	Package: io.cordova.hellocordova
> 	Name: HelloCordova
> 	Activity: MainActivity
> 	Android target: android-23
> Android project created with cordova-android@5.1.0
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-crosswalk-webview" for android
> Failed to install 'cordova-plugin-crosswalk-webview':Error: Variable(s) missing: undefined
>     at /Users/zarko/.nvm/versions/node/v4.3.0/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:346:23
>     at _fulfilled (/Users/zarko/.nvm/versions/node/v4.3.0/lib/node_modules/cordova/node_modules/q/q.js:787:54)
>     at self.promiseDispatch.done (/Users/zarko/.nvm/versions/node/v4.3.0/lib/node_modules/cordova/node_modules/q/q.js:816:30)
>     at Promise.promise.promiseDispatch (/Users/zarko/.nvm/versions/node/v4.3.0/lib/node_modules/cordova/node_modules/q/q.js:749:13)
>     at /Users/zarko/.nvm/versions/node/v4.3.0/lib/node_modules/cordova/node_modules/q/q.js:557:44
>     at flush (/Users/zarko/.nvm/versions/node/v4.3.0/lib/node_modules/cordova/node_modules/q/q.js:108:17)
>     at nextTickCallbackWith0Args (node.js:419:9)
>     at process._tickCallback (node.js:348:13)
> Error: Variable(s) missing: undefined
> {noformat}
> My system information:
> OS: Mac OS X El Capitan
> Node Version: v4.3.0
> Xcode version: Xcode 7.2.1 Build version 7C1002 
> Cordova CLI: 6.0.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message