Skip to content
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

PowerShell Installer doesn't Work: iwr request was aborted #51

Closed
nikitaeverywhere opened this issue Mar 2, 2019 · 1 comment
Closed

Comments

@nikitaeverywhere
Copy link

Hello! Thanks for an interesting project.

When I try to install Deno as the main website tells me, I get an error:

PS C:\Users\zitro> iwr https://deno.land/x/install/install.ps1 | iex
iwr : The request was aborted: Could not create SSL/TLS secure channel.
At line:1 char:1
+ iwr https://deno.land/x/install/install.ps1 | iex
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Latest Windows 10 / Subsystem for Linux off.

@nikitaeverywhere
Copy link
Author

nikitaeverywhere commented Mar 2, 2019

This helped me to fix the error (execute in the PowerShell before the install command):

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Filing the issue here for search engines... :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant