【发布时间】:2019-01-04 19:52:42
【问题描述】:
我已经安装了Service Fabric,虽然已经安装了集群资源管理器,但是我注意到标准的SFDevCluster文件夹还没有创建
本地集群管理器中的错误消息是无用的 - 重置集群时出错。
然后我深入研究了 PowerShell 端并得到了下面的消息。
我没有想法并且非常沮丧!这已经在其他机器上安装了很多其他时间而没有任何问题。
我已经卸载并重新安装了多次。
我已将 Service Fabric 添加到 Visual Studio。
PS C:\program files\microsoft sdks\service fabric\clustersetup> .\DevClusterSetup.ps1
A parameter cannot be found that matches parameter name 'Refresh'.
Get-Module : A parameter cannot be found that matches parameter name 'Refresh'.
At C:\program files\microsoft sdks\service fabric\clustersetup\DevClusterSetup.ps1:54 char:35
+ Get-Module -ListAvailable -Refresh <<<< --quiet *>$null
+ CategoryInfo : InvalidArgument: (:) [Get-Module], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.GetModuleCommand
PS C:\program files\microsoft sdks\service fabric\clustersetup>
我什至尝试将我的 Service Fabric 文件复制到机器上,但这也不起作用。
有人遇到过这种情况吗?请注意,这些问题发生在 Visual Studio (2017) 之外。
保罗
【问题讨论】: