adopted-ember-addons / adopted-ember-addons/ember-cli-windows

Ember-cli-windows error on Console

オープン
#33 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
76
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, powershell
領域
cli, operating-systems, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。