Created
February 26, 2015 21:21
-
-
Save rofr/18c2496f7f417663797d to your computer and use it in GitHub Desktop.
svm puke
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\rofr>@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex | |
((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/s | |
criptcs-contrib/svm/master/install/installer.ps1'))" && SET PATH=%HOME%\.svm\bin | |
\;%HOME%\.svm\shims\;%PATH% | |
scriptcs version manager - installer | |
Cannot find an overload for "Combine" and the argument count: "3". | |
At line:127 char:42 | |
+ $downloadPath = [System.IO.Path]::Combine <<<< ($env:TEMP, [Guid]::NewGuid(), | |
'svm-install.zip') | |
+ CategoryInfo : NotSpecified: (:) [], MethodException | |
+ FullyQualifiedErrorId : MethodCountCouldNotFindBest | |
An existing svm installation was found at 'C:\Users\rofr\.svm'. This will be up | |
graded. | |
Exception calling "Delete" with "1" argument(s): "The path is not of a legal fo | |
rm." | |
At line:42 char:38 | |
+ else { [System.IO.File]::Delete <<<< ($path.FullName) } | |
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException | |
+ FullyQualifiedErrorId : DotNetMethodException | |
Downloading svm install package from 'https://github.com/scriptcs-contrib/svm/a | |
rchive/v0.3.7.zip'. | |
Exception calling "GetDirectoryName" with "1" argument(s): "The path is not of | |
a legal form." | |
At line:61 char:48 | |
+ New-Item $([System.IO.Path]::GetDirectoryName <<<< ($downloadPath)) -type D | |
irectory | Out-Null | |
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException | |
+ FullyQualifiedErrorId : DotNetMethodException | |
New-Item : Cannot bind argument to parameter 'Path' because it is null. | |
At line:61 char:11 | |
+ New-Item <<<< $([System.IO.Path]::GetDirectoryName($downloadPath)) -type D | |
irectory | Out-Null | |
+ CategoryInfo : InvalidData: (:) [New-Item], ParameterBindingVal | |
idationException | |
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M | |
icrosoft.PowerShell.Commands.NewItemCommand | |
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred d | |
uring a WebClient request." | |
At line:63 char:19 | |
+ $wc.DownloadFile <<<< ($url, $downloadPath) | |
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException | |
+ FullyQualifiedErrorId : DotNetMethodException | |
Installing svm to 'C:\Users\rofr\.svm'. | |
New-Item : Cannot bind argument to parameter 'Path' because it is an empty stri | |
ng. | |
At line:76 char:11 | |
+ New-Item <<<< $unzipFolder -type Directory | Out-Null | |
+ CategoryInfo : InvalidData: (:) [New-Item], ParameterBindingVal | |
idationException | |
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAl | |
lowed,Microsoft.PowerShell.Commands.NewItemCommand | |
Cannot find an overload for "Combine" and the argument count: "4". | |
At line:85 char:50 | |
+ $zipFolderToExtract = [System.IO.Path]::Combine <<<< ($unzipFolder, 'svm-0. | |
3.7', 'src', 'bin') | |
+ CategoryInfo : NotSpecified: (:) [], MethodException | |
+ FullyQualifiedErrorId : MethodCountCouldNotFindBest | |
Remove-Item : Cannot find path 'C:\Users\rofr\svm' because it does not exist. | |
At line:86 char:14 | |
+ Remove-Item <<<< -Path $([System.IO.Path]::Combine($zipFolderToExtract, 's | |
vm')) | |
+ CategoryInfo : ObjectNotFound: (C:\Users\rofr\svm:String) [Remo | |
ve-Item], ItemNotFoundException | |
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.Remov | |
eItemCommand | |
Copy-Item : Cannot bind argument to parameter 'Path' because it is null. | |
At line:87 char:18 | |
+ Copy-Item -Path <<<< $zipFolderToExtract -Recurse -Destination $installPat | |
h | |
+ CategoryInfo : InvalidData: (:) [Copy-Item], ParameterBindingVa | |
lidationException | |
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M | |
icrosoft.PowerShell.Commands.CopyItemCommand | |
Cannot find an overload for "Combine" and the argument count: "4". | |
At line:88 char:50 | |
+ $zipFolderToExtract = [System.IO.Path]::Combine <<<< ($unzipFolder, 'svm-0. | |
3.7', 'src', 'shims') | |
+ CategoryInfo : NotSpecified: (:) [], MethodException | |
+ FullyQualifiedErrorId : MethodCountCouldNotFindBest | |
Remove-Item : Cannot find path 'C:\Users\rofr\scriptcs' because it does not exi | |
st. | |
At line:89 char:14 | |
+ Remove-Item <<<< -Path $([System.IO.Path]::Combine($zipFolderToExtract, 's | |
criptcs')) | |
+ CategoryInfo : ObjectNotFound: (C:\Users\rofr\scriptcs:String) | |
[Remove-Item], ItemNotFoundException | |
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.Remov | |
eItemCommand | |
Copy-Item : Cannot bind argument to parameter 'Path' because it is null. | |
At line:90 char:18 | |
+ Copy-Item -Path <<<< $zipFolderToExtract -Recurse -Destination $installPat | |
h | |
+ CategoryInfo : InvalidData: (:) [Copy-Item], ParameterBindingVa | |
lidationException | |
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M | |
icrosoft.PowerShell.Commands.CopyItemCommand | |
Configuring path environment variables for svm. | |
Method invocation failed because [System.Object[]] doesn't contain a method nam | |
ed 'Contains'. | |
At line:112 char:42 | |
+ if (!$foldersToPrependToPath.Contains <<<< ($path)) { $newPath += $path } | |
+ CategoryInfo : InvalidOperation: (Contains:String) [], RuntimeE | |
xception | |
+ FullyQualifiedErrorId : MethodNotFound | |
Method invocation failed because [System.Object[]] doesn't contain a method nam | |
ed 'Contains'. | |
At line:112 char:42 | |
+ if (!$foldersToPrependToPath.Contains <<<< ($path)) { $newPath += $path } | |
+ CategoryInfo : InvalidOperation: (Contains:String) [], RuntimeE | |
xception | |
+ FullyQualifiedErrorId : MethodNotFound | |
Successfully installed! | |
Start a new console and run 'svm help' to get started. | |
C:\Users\rofr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment