Answers for "vue : file c:\users\sc\appdata\roaming\npm\vue.ps1 cannot be loaded because running scripts is disabled on this system. for more information, see about_execution_policies at https:/go.microsoft.com/fwlink/?linkid=135170. at line:1 char:1"

3

vue : File C:\Users\MTP Nabeel Ahmed\AppData\Roaming\npm\vue.ps1 cannot be loaded because running scripts is disabled on this system.

vue : File C:\Users\{USER_PROFILE}\AppData\Roaming\npm\vue.ps1 cannot be loaded because running scripts is disabled on this system. 

Simply go to the file (vue.ps1) and delete it. Worked for me !
Posted by: Guest on December-07-2021
2

vue\npm\vue.ps1 cannot be loaded because running scripts is disabled on this system

// execute in windows powershell:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser

// answered in https://github.com/vuejs/vue-cli/issues/3424#issuecomment-567530758 by Hooponopono
Posted by: Guest on July-09-2021

Code answers related to "vue : file c:\users\sc\appdata\roaming\npm\vue.ps1 cannot be loaded because running scripts is disabled on this system. for more information, see about_execution_policies at https:/go.microsoft.com/fwlink/?linkid=135170. at line:1 char:1"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language