I tried to update `appveyor.yml` 

```
diff --git a/appveyor.yml b/appveyor.yml
index e4e7a1c..2336372 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -6,9 +6,11 @@ install:
   - npm install
   - npm link

+image: Visual Studio 2017
+
```

Then Windows 10 (internal version is 10.0.14393. maybe WIndows Server 2016?) is 
used in appveyor.

However installing Win10 app fails.

```
cordova-paramedic: running command cordova run windows --no-telemetry 
--no-update-notifier
cordova-paramedic: waiting for test results
C:\projects\cordova-paramedic\lib\paramedic.js:341
                    throw new Error(output);
                    ^
Error: Building project: 
C:\Users\appveyor\AppData\Local\Temp\1\tmp-2520OOhhlY49090I\platforms\windows\CordovaApp.Windows10.jsproj
        Configuration : debug
        Platform      : anycpu
        Buildflags    : /p:AppxBundle=Never
        MSBuildTools  : C:\Program Files (x86)\MSBuild\14.0\bin\
buildProject spawn: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild [ 
'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\tmp-2520OOhhlY49090I\\platforms\\windows\\CordovaApp.Windows10.jsproj',
  '/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal',
  '/nologo',
  '/p:Configuration=debug',
  '/p:Platform=anycpu',
  '/p:AppxBundle=Never' ] { stdio: 'inherit' }
  prebuild.js: Patching platform `10`
  - Injected `base.js` reference to `/www/cdvtests/index.html`
  - Removing /( 
*)(<script\s+(?:type="text\/javascript"\s+)?src="\/\/Microsoft.WinJS.2.0\/js\/base.js">\s*<\/script>)(\s*)/
 from /www/cdvtests/index.html
  - Removing /( 
*)(<script\s+(?:type="text\/javascript"\s+)?src="\/\/Microsoft.Phone.WinJS.2.1\/js\/base.js">\s*<\/script>)(\s*)/
 from /www/cdvtests/index.html
  CordovaApp.Windows10 -> 
C:\Users\appveyor\AppData\Local\Temp\1\tmp-2520OOhhlY49090I\platforms\windows\AppPackages\CordovaApp.Windows10_1.0.0.0_anycpu_debug_Test\CordovaApp.Windows10_1.0.0.0_anycpu_debug.appx
Can not run this platform with administrative permissions. Must be run from a 
non-admin prompt.
    at C:\projects\cordova-paramedic\lib\paramedic.js:341:27
    at C:\projects\cordova-paramedic\node_modules\shelljs\src\exec.js:107:7
    at ChildProcess.exithandler (child_process.js:283:5)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:915:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
```


[ Full content available at: 
https://github.com/apache/cordova-paramedic/issues/38 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to