84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
Now node and npm commands can be usedThen vue-cli and webpack are installed globallyBut the commands cannot be usedDoes anyone know how to solve it
sudo ln -s /home/aaa/下载/node-v6.10.3-linux-x64/bin/vue /usr/local/bin/vue
Solved, just point to the environment path
1.Install nodejs2.npm install vue-cli -g3.vue init $project_name
It may be that your account does not have enough permissions. I usually switch to root
See the official documentation and install it
sudo ln -s /home/aaa/下载/node-v6.10.3-linux-x64/bin/vue /usr/local/bin/vue
Solved, just point to the environment path
1.Install nodejs
2.npm install vue-cli -g
3.vue init $project_name
It may be that your account does not have enough permissions. I usually switch to root
See the official documentation and install it