On Windows7 installing jabba failed
EricJim08 opened this issue · 0 comments
EricJim08 commented
My system is Windows7 x64 SP1 version.
When trying to install jabba, enter the following command in the Power Shell:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-Expression (
Invoke-WebRequest https://github.com/shyiko/jabba/raw/master/install.ps1 -UseBasicParsing
).Content
But an error is reported:
PS C:\Windows\system32> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
设置“SecurityProtocol”时发生异常:“由于枚举值无效,无法将空值转换为类型“System.Net.SecurityProtocolType”。请指定以
下枚举值之一,然后重试。可能的枚举值为“Ssl3、Tls”。”
所在位置 行:1 字符: 28
+ [Net.ServicePointManager]:: <<<< SecurityProtocol = [Net.SecurityProtocolType]::Tls12
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
PS C:\Windows\system32> Invoke-Expression (
>> Invoke-WebRequest https://github.com/shyiko/jabba/raw/master/install.ps1 -UseBasicParsing
>> ).Content
I thought it was the script execution policy, but I typed the "Set-ExecutionPolicy-Scope CurrentUser"
command,
Then after the "ExecutionPolicy:"
prompt, enter "RemoteSigned"
hit enter and then press "Y."
After doing the above, I re-enter the command to install jabba, and the error occurs again, seemingly unsolved.
I have a question: Does jabba not support Windows or does it not support Windows7?