Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 无法创建ember.js项目_Git_Ember.js_Npm_Mozilla - Fatal编程技术网

Git 无法创建ember.js项目

Git 无法创建ember.js项目,git,ember.js,npm,mozilla,Git,Ember.js,Npm,Mozilla,我一直试图通过cmd创建一个新的ember.js项目,但我一直得到的是这个错误 Failed to execute git ls-remote --tags --heads git://github.com/rwjblue/ember-qunit-builds.git exit code of #128 </strong><br/><br/> 执行失败 git ls远程--标记--头git://github.com/rwjblue/ember-qun

我一直试图通过cmd创建一个新的
ember.js
项目,但我一直得到的是这个错误

Failed to execute 
   git ls-remote --tags --heads git://github.com/rwjblue/ember-qunit-builds.git
exit code of #128 </strong><br/><br/>
执行失败
git ls远程--标记--头git://github.com/rwjblue/ember-qunit-builds.git
#128的退出代码

如何避免该错误消息?

这可能是因为在您的情况下,协议git(使用端口9418)被阻止

您可以通过以下方式指示git使用https而不是git:

git config --global url."https://".insteadOf git://