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] [Created] (CB-6204) cordova run windows8 - fails - add test
Date Sun, 09 Mar 2014 18:55:44 GMT
Jonathan Bond created CB-6204:
---------------------------------

             Summary: 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