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

Dennis Bartlett edited comment on CB-6204 at 7/2/14 1:02 AM:
-------------------------------------------------------------

EDIT:  Ignore, mine was caused by not using an elevated command prompt.

Did we get a solution on this yet? i've run into the exact same.

Cordova: 3.5.0-0.2.4
Windows: 8.0

Building for windows8



was (Author: bartlett.dc.1):
Did we get a solution on this yet? i've run into the exact same.

Cordova: 3.5.0-0.2.4
Windows: 8.0

Building for windows8


> 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)

Reply via email to