adopted-ember-addons / adopted-ember-addons/ember-cli-windows
Ember-cli-windows error on Console
- Ngôn ngữ chính
- JavaScript
- Star
- 76
- Fork
- 11
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I have this error each time i run ember-cli-windows
Configuration Error: Get-Command : The term 'Set-MpPreference' is not recognized as the name of a cmdlet, function, scr
ipt file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
Configuration Error: again.
At C:\Users\Riliwan\AppData\Roaming\npm\node_modules\ember-cli-windows\powershell\setup-defender.ps1:95 char:9
- if (Get-Command Set-MpPreference) {
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ObjectNotFound: (Set-MpPreference:String) [Get-Command], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand
Automatic Defender configuration is only available on Windows 8 or newer.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
The failure points to powershell/setup-defender.ps1 at line 95, where Set-MpPreference is queried; start by reading that script and reproducing the command on the affected Windows version. Done should mean the setup no longer emits the reported command-not-found configuration error while retaining the intended Defender setup behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, powershell
- Lĩnh vực
- cli, operating-systems, tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100