2
rated 0 times
[
2]
[
0]
/ answers: 1 / hits: 6165
/ 3 Years ago, sat, august 21, 2021, 4:02:44
When I run:
vue --version
I get this error message:
Command 'vue' not found, did you mean:
command 'vpe' from deb texlive-latex-extra
Try: sudo apt install <deb name>
Notes:
npm config get prefix
/home/begueradj/.nvm/versions/node/v12.8.0
and:
npm list vue
/home/begueradj
└── [email protected]
I previously run:
yarn global add @vue/cli
yarn global add @vue/cli-service-global
How to fix this ?
For the moment, when I add this to ~/.profile
export PATH="$(yarn global bin):$PATH"
and run: source ~/.profile
The issue is solved ... but only for the current Terminal session (I had to run source .profile
each time I open a new Terminal session)
More From » 18.04