Skip to content

Conversation

tgolischKLA
Copy link

@tgolischKLA tgolischKLA commented Jan 27, 2021

After installing vue\cli, if the >vue command doesn't work, it could be because the npm path is not in the Windows system path.

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

After installing vue\cli, if the >vue command doesn't work, it could be because the npm path is not in the Windows system path.

::: 'vue' is not recognized as an internal or external command
This error happens in Windows if you don't have npm in your system path. To check: from a command prompt type `path`.
Confirm the actual path to your npm repo. It should be like `c:\Users\[YourLoginName]\AppData\Roaming\npm` (using your actual login name). Add that to your System Properties, Environment Variables.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You get this path by using command: > npm config get prefix

Had this problem yesterday too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants