-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iex cannot convert Tls12 to type System.Int32 #2083
Comments
Hey, please try this, and tell me if it works:
cd ~/scoop/apps/scoop/current/lib/
from: function enable-encryptionscheme($scheme) {
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor $scheme
}
enable-encryptionscheme "Tls12" to: function enable-encryptionscheme() {
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
}
enable-encryptionscheme Besides, what's the version of .NET framework your system installed? You should have .NET 4.5 and above installed to use TLSv1.2. |
I tried this command in Powershell: cd ~/scoop/apps/scoop/current/lib/ Got an error saying the file does not exist. Searched my system for Scoop and all it came up with was a file in LibreOffice. I think my first error was indicating Scoop had not been downloaded, no? |
@femrich yeah, you haven't install scoop successfully. Try this before this issue being fixed:
|
I am running windows 7, sp 1, checked for updates and loaded PS yesterday. From the PS command line I am running the command:
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
But I receive the following error:
Can you tell me please what this means and how to resolve it?
I am a non-tech person self-educated over years setting up and maintaining personal drupal sites, and doing this now to keep up with the requirements for drupal8. I have little to no experience with command line, but doing this to work with the now-required Composer. Any help you can offer with explaining and resolving this error and pointing me to resources to help me on my quest would be much appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: