npm install 报错 cb.apply is not a function

win + r 打开运行,输入%appdata%

删除npm和npm-cache文件夹

执行npm cache clean --force命令

此时应该就可以了,如果还不行,就执行卸载Node.js重新安装。

如果还是不行!!

换yarn

安装yarn npm install -g yarn

yarn install 代替 npm install

然后,

就可以运用vue啦~

测试一下vue是否安装成功



Slowly I find myself
原文地址:https://www.cnblogs.com/SDdemon/p/14820428.html