Azure / Azure/AzureStack-Tools
"Import-Module ..\" is not correct
- Ngôn ngữ chính
- PowerShell
- Star
- 260
- Fork
- 283
- Merge trung bình
- 2 giờ 11 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
**In https://github.com/Azure/AzureStack-Tools/blob/master/Identity/README.md**
Import-Module ..\Connect\AzureStack.Connect.psm1
Import-Module ..\Identity\AzureStack.Identity.psm1
**importing the above modules throw below exception**
Import-Module : The specified module '..\Connect\AzureStack.Connect.psm1' was not loaded because no valid module file was found in any module directory.
At line:1 char:1
+ Import-Module ..\Connect\AzureStack.Connect.psm1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (..\Connect\AzureStack.Connect.psm1:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
**- it should be with single "."**
Import-Module .\Connect\AzureStack.Connect.psm1
Import-Module .\Identity\AzureStack.Identity.psm1
Hướng dẫn đóng góp
Hướng nghiên cứu
Open Identity/README.md and review the Import-Module examples for the Connect and Identity modules. Update the documented paths to use .\ instead of ..\, then verify that both examples match the paths shown in the issue.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- powershell
- Lĩnh vực
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 45/100