Vue not showing version?

17 views Asked by At

vue : File C:\Users\csarv\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 --version
  •   + CategoryInfo          : SecurityError: (:) [], PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess
    
    

vue --version after installing vue js from npm

1

There are 1 answers

0
Nazif Malhi On

Make sure you have Vue.js installed globally on your system using npm or yarn before running the above commands. If you haven't installed Vue.js yet, you can do so by running the following command:

npm install -g @vue/cli

then you can use the vue --version command to check the installed version.

If you didn't installed globally then you can check vue version from package.json