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

use powershell install scoop,return MethodInvocationException #2227

Closed
blythe104 opened this issue Apr 27, 2018 · 2 comments
Closed

use powershell install scoop,return MethodInvocationException #2227

blythe104 opened this issue Apr 27, 2018 · 2 comments

Comments

@blythe104
Copy link

@blythe104 blythe104 commented Apr 27, 2018

PS C:\Windows\system32> iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

使用“1”个参数调用“DownloadString”时发生异常:“操作超时” 所在位置 行:1 字符: 1

  • iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
  • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  • FullyQualifiedErrorId : WebException
@h404bi

This comment has been minimized.

Copy link
Contributor

@h404bi h404bi commented Apr 28, 2018

I guess you are suffering network problem, maybe you should try to use proxy while installation.

Tip: use below command to display error message in English.

[Threading.Thread]::CurrentThread.CurrentUICulture = 'en-US'; iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
@blythe104

This comment has been minimized.

Copy link
Author

@blythe104 blythe104 commented May 8, 2018

yes,you are right,thank you so much

@blythe104 blythe104 closed this May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.