// execute in windows powershell:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
// copied from https://github.com/vuejs/vue-cli/issues/3424#issuecomment-567530758 answered by Hooponopono
=>run powershell as administrator
=>run foll command
get-ExecutionPolicy
=>if restricted; run following command
set-ExecutionPolicy Unrestricted
=>and set to all
=>again check by foll. command
get-ExecutionPolicy
**it will get unrestricted and problem is solved**
Set-ExecutionPolicy -Scope CurrentUser
PS C:> Set-ExecutionPolicy RemoteSigned