cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Bond (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6204) cordova run windows8 - fails - add test
Date Sun, 09 Mar 2014 19:10:42 GMT

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

Jonathan Bond commented on CB-6204:
-----------------------------------

Pull request here:
https://github.com/apache/cordova-windows/pull/19

It doesn't fix the bug though :/


> cordova run windows8 - fails - add test
> ---------------------------------------
>
>                 Key: CB-6204
>                 URL: https://issues.apache.org/jira/browse/CB-6204
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows 8, WP8
>    Affects Versions: Master
>         Environment: Windows 8.1
>            Reporter: Jonathan Bond
>            Assignee: Jesse MacFadyen
>             Fix For: 3.5.0
>
>
> Running '.\tests\testRunProject', the application installs but fails to run.
> I added a 'lib\common.js' which would make it easier to re-use code. Some context, first
noticed that 'msbuild' wasn't in my path so I was looking for a fix.
> I noticed windows8 is almost fixed but not wp8 (ideally could both share the 'common.js'
code).
> -----
> Installing package...
> Found dependency package(s):
> F:\Jonathan\GitHub\Cordova\gde\cordova-windows\windows8\tests\TestOutput\AppPackages\CordovaApp_1.0.0.0_AnyCPU_Debug_Test\Dependencies\Microsoft.WinJS.1.0.appx
> Success: Your package was successfully installed.
> powershell ". .\\cordova\lib\WindowsStoreAppUtils.ps1; Start-Locally Cordova.Example
> ActivateApplication:  !
> Get-AppxPackageManifest : Cannot validate argument on parameter 'Package'. The argument
is null or empty. Provide an argument that is not null or empty, and
> then try the command again.
> At F:\Jonathan\GitHub\Cordova\gde\cordova-windows\windows8\tests\TestOutput\cordova\lib\WindowsStoreAppUtils.ps1:108
char:41
> +     $manifest = Get-appxpackagemanifest $package
> +                                         ~~~~~~~~
>     + CategoryInfo          : InvalidData: (:) [Get-AppxPackageManifest], ParameterBindingValidationException
>     + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPackageManifestCommand
> Exception calling "ActivateApplication" with "4" argument(s): "Value does not fall within
the expected range."
> At F:\Jonathan\GitHub\Cordova\gde\cordova-windows\windows8\tests\TestOutput\cordova\lib\WindowsStoreAppUtils.ps1:115
char:5
> +     $appActivator.ActivateApplication($applicationUserModelId,$null,[StoreAppRun ...
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
>     + FullyQualifiedErrorId : ArgumentException
>  powershell ". .\\cordova\lib\WindowsStoreAppUtils.ps1; Start-Locally Cordova.Example



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message