unable to run command "vue create app1"

1.1k views Asked by At

when i try to run any command at cli it gives this error:

vue : File C:\Users\john\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

  • vue create app1
  •   + CategoryInfo          : SecurityError: (:) [], PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess
    

any solution to solve it

1

There are 1 answers

0
Piotr Gretkierewicz On

If you only tried to run it with PowerShell, switch to CMD and run the command.