Pau*_*aul 7 azure-service-fabric
我已安装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>
Run Code Online (Sandbox Code Playgroud)
我甚至试图将我的Service Fabric文件复制到机器上,但这也无效.
有没有人有这样的事情?请注意,这些问题发生在Visual Studio(2017)之外.
保罗
当我升级本地集群运行时和 SDK 时,我通常会遇到此类问题。
我还没有遇到过这个特定的错误,但是当更新失败时(这是很常见的)我总是遵循的经验法则是:
我注意到,我在 SF 安装中遇到的大多数问题都与旧资源没有从计算机中完全清除有关,在安装新资源时,留下的东西会影响新安装,在执行这些步骤之后,我从未遇到过又出问题了。
关于您的错误消息,问题可能是因为您直接运行这些脚本,并且它们旨在从SF Cluster Manager应用程序运行。另外,如果这些 PS 脚本运行时仍然加载任何模块,我不会感到惊讶。
归档时间: |
|
查看次数: |
128 次 |
最近记录: |