ionic出现Unable to find remote helper for 'https'解决办法

在win7上运行公司的ionic项目 ionic serve出现错误:

fatal: Unable to find remote helper for 'https'

原因出在windows安装的git上, 这个错误原因是git的扩展命令git-remote-https在环境变量path中找不到,解决办法:

1. 搜索git安装目录, 关键字:git-remote-https

2. 搜索出git-remote-https.exe所在目录为D:\develop\Git\mingw64\libexec\git-core

3. 将D:\develop\Git\mingw64\libexec\git-core添加到系统环境变量path中

4. 重启计算机, 使环境变量生效

再次运行ionic serve,  成功

猜你喜欢

转载自my.oschina.net/u/259383/blog/1528800