Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ember-cli-windows error on Console #33

Open
riliwanrabo opened this issue Jan 4, 2016 · 6 comments
Open

Ember-cli-windows error on Console #33

riliwanrabo opened this issue Jan 4, 2016 · 6 comments

Comments

@riliwanrabo
Copy link

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.

@felixrieseberg
Copy link
Collaborator

Hey, thanks for reporting! Which version of Windows are you running on? As the error message says, automatic Defender configuration is only available on Windows 8 or newer.

@riliwanrabo
Copy link
Author

@felixrieseberg I run windows 10.
Could it be a disk problem ?

@felixrieseberg
Copy link
Collaborator

Interesting - do you have Windows Defender running? The script should give you a pretty message if defender is disabled, but what you're seeing might just mean that defender isn't running.

@riliwanrabo
Copy link
Author

ok. I have it running, I turned it off manually and it still throws the error. I used to have a smart disk error too. So i changed the disk recently after backup and it works in my new OS. I have no idea why this is. I f you do pls explain otherwise this issue can close.
cheers.

@ghost
Copy link

ghost commented Jan 25, 2016

Same issue here, but Defender is not in use. Running Trend Micro on Windows 10.

@crsepulv
Copy link

I have the same issue on win 8, because I turned off Defender... but as I saw on the code that the script excludes the path from Defender, so I guess that this part and error has no incidence since the defender is turned off, so already is not working on this path, am I all right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants