everything was installed correctly. but whenever I try to create project, it says “‘vue’ is not recognized as an internal or external command”. I installed and re-installed but didn’t work. npm was also added to environmental variable path.
JavaScript
x
11
11
1
C:UserstouhaDesktop>npm list -g --depth=0
2
C:Userstouha.npm-packages
3
`-- @vue/cli@3.8.2
4
5
6
C:UserstouhaDesktop>vue ui
7
'vue' is not recognized as an internal or external command,
8
operable program or batch file.
9
10
C:UserstouhaDesktop>
11
Advertisement
Answer
Locate vue.cmd and add its location to your PATH
It is added to package manager(npm or yarn) installation. So you may find it at following locations
YARN
C:Users{YourAccount}AppDataLocalYarnbin
NPM
C:Users{YourAccount}AppDataRoamingnpm