adopted-ember-addons / adopted-ember-addons/ember-cli-windows
Ember-cli-windows error on Console
- Lenguaje dominante
- JavaScript
- Estrellas
- 76
- Forks
- 11
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, powershell
- Área
- cli, operating-systems, tooling
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100