繁体   English   中英

Powershell (5.1) 安装模块或查找模块挂起/被阻止

[英]Powershell (5.1) Install-module or Find-module are hanging / blocked

我无法在 Powershell 中使用“模块”相关命令。 它挂着闪烁的破折号。

例如,我试过:

Install-Module posh-git -Scope CurrentUser

或者 :

Find-Module -Name PowerShellGet

这两个命令都给我一个闪烁的破折号...

所以我不知道该怎么办。 有缓存之类的吗? 另外,由于它是 Windows 10 的一部分,我无法卸载并重新安装它?

谢谢。

Windows 10 家庭版 2004 Powershell 5.1

PowerShellGallery 已经有一些奇怪的中断和延迟数周了,这会影响 Find-Module / Install-Module / Find-PSResource / Install-PSResource。

它不仅仅影响你。

更多信息: https : //github.com/PowerShell/PowerShellGallery/blob/master/psgallery_status.md https://github.com/PowerShell/PowerShellGallery/issues/132

甚至https://powershellgallery.com也关闭了一段时间。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM