adopted-ember-addons / adopted-ember-addons/ember-cli-windows
Ember-cli-windows error on Console
- Langage dominant
- JavaScript
- Étoiles
- 76
- Forks
- 11
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, powershell
- Domaine
- cli, operating-systems, tooling
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100