【踩坑】[email protected] requires a peer of [email protected] but none was installed
来源:https://blog.csdn.net/qq_37591637/article/details/89960914
错误描述
在用npm命令安装Element的时候(命令如下所示)
npm i element-ui -S
报了一个警告
解决方案
缺什么安装什么
npm installvue@^2.5.16
成功以后,再次输入cnpm i element-ui...
转载
2019-05-09 23:26:59 ·
18593 阅读 ·
0 评论