Skip to content

Instantly share code, notes, and snippets.

@vlj
Created February 11, 2017 17:25
Show Gist options
  • Save vlj/d073cc358eabf95338eee30874f34cec to your computer and use it in GitHub Desktop.
Save vlj/d073cc358eabf95338eee30874f34cec to your computer and use it in GitHub Desktop.
Removing intermediate container 7972ce23d563
Step 14/14 : RUN .\vcpkg.exe install zlib
---> Running in 6586e5bb3550
C:\vcpkg\vcpkg-master\downloads\cmake-3.7.2-win32-x86.zip
C:\vcpkg\vcpkg-master\downloads
Error HRESULT E_FAIL has been returned from a call to a COM component.
At C:\vcpkg\vcpkg-master\scripts\fetchDependency.ps1:119 char:9
+ $zip = $shell.NameSpace($file)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException
You cannot call a method on a null-valued expression.
At C:\vcpkg\vcpkg-master\scripts\fetchDependency.ps1:120 char:26
+ foreach($item in $zip.items())
+ ~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Could not detect or download cmake
At C:\vcpkg\vcpkg-master\scripts\fetchDependency.ps1:209 char:9
+ throw [System.IO.FileNotFoundException] ("Could not detect or ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], FileNotFoundException
+ FullyQualifiedErrorId : Could not detect or download cmake
Launching powershell failed or was denied
The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; .\vcpkg.exe
install zlib' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment