node.js - 使用npm安装vue-cli后,vue还是不可用是什么原因?
大家讲道理
大家讲道理 2017-04-17 16:11:46
0
1
534

我在使用npm安装vue-cli时出现警告,没有报错,但是vue命令还是不可用,安装结果如下图:

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
Ty80

This problem is a bit common under Win; you can refer here: https://github.com/npm/npm/is...; downgrade or upgrade your own npm version; and to upgrade it, under window, re-download visually Installing node is stable and fast. For details, see here: NodeJs upgrade/installation notes.

But based on the previous experience of helping colleagues solve the problem, using Yarn is a better solution, and the speed is also much better.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template