You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ryan Edge (JIRA)" <ji...@apache.org> on 2015/09/28 21:30:04 UTC

[jira] [Created] (CB-9717) UnauthorizedAccessException when cordova run windows

Ryan Edge created CB-9717:
-----------------------------

             Summary: UnauthorizedAccessException when cordova run windows
                 Key: CB-9717
                 URL: https://issues.apache.org/jira/browse/CB-9717
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
    Affects Versions: 5.3.2
         Environment: Windows 10
            Reporter: Ryan Edge


When attempting to run cordova, I get an error installing the *CordovaApp.Windows10_0.0.1.0_anycpu_debug.appx* file. This does not happen in Visual Studio 2015.

I have verified that my permissions for that file are the same regardless of whether I'm using Visual Studio or the CLI, which leads me to believe VS2015 is doing some magic under the covers.

The full error:
{code}
Get-AuthenticodeSignature : Access to the path 'C:\Work\sandbox\cordova\hello\platforms\windows\AppPackages\CordovaApp.
Windows10_0.0.1.0_anycpu_debug_Test\CordovaApp.Windows10_0.0.1.0_anycpu_debug.appx' is denied.
At C:\Work\sandbox\cordova\hello\platforms\windows\AppPackages\CordovaApp.Windows10_0.0.1.0_anycpu_debug_Test\Add-AppDe
vPackage.ps1:449 char:25
+ ...   $PackageSignature = Get-AuthenticodeSignature $DeveloperPackagePath
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-AuthenticodeSignature], UnauthorizedAccessException
    + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.GetAuthenticodeSignatur
   eCommand
{code}



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