作者:用户9o05le1po7 | 来源:互联网 | 2022-12-09 13:26
我已安装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)之外.
保罗