赞
踩
在下载vue-element-admin的githup项目后, 直接npm install 时报错.
看问题提示. 应该是没有调用到git.
我这里的话, 使用的IDE是WebStorm. 应该是git常见没有安装.
打开WebStorm => VCS => Enable Version Control => OK
提示: git is not installed
点击Download and install
等完成后, 重新执行npm install
问题依旧.
关闭webstorm . 启动webstorm.
执行npm install ( 打开webstorm后, 右下角会提示执行npm install, 我在这里直接点的. 应该和terminal中的环境是一样的)
问题解决.
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。