0

我已按照此处的入门说明进行操作:https : //linkerd.io/2/getting-started/ 用于安装链接器,但我无法安装链接器的 cli。

请看下面的命令:curl -sL https://run.linkerd.io/install | 嘘

请看下面的错误:

Invoke-WebRequest : A positional parameter cannot be found that accepts argument 'https://run.linkerd.io/install'.
At line:1 char:1
+ curl --sL https://run.linkerd.io/install | sh
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
4

1 回答 1

0

我和你有同样的问题。我解决的方法如下:

1) 为 Windows 10 安装 WSL:https ://docs.microsoft.com/en-us/windows/wsl/install-win10 。
2) 从 Windows 商店安装 Ubuntu:https ://www.microsoft.com/en-gb/p/ubuntu/9nblggh4msv6

然后启动 Ubuntu shell 并再次按照说明进行操作。请注意,这不是虚拟机——只是一个外壳。

于 2020-05-14T08:09:12.283 回答