安装平均堆栈时出现意外错误



我正在尝试使用 git bash 在 Windows XP 上安装 Mean Stack。我从 mean.io 下载了zip,当我在平均堆栈的目录上启动" npm install"时,我遇到了此错误,尽管我遵循了 mean.io 的所有结构:

Welcome to Git (version 1.8.4-preview20130916)

Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
corsojava@YKLW101934 ~
$ cd /c/ms-application/mean-stack
corsojava@YKLW101934 /c/ms-application/mean-stack
$ pwd
/c/ms-application/mean-stack
corsojava@YKLW101934 /c/ms-application/mean-stack
$ npm install
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/jade
npm http GET https://registry.npmjs.org/mongoose
npm http GET https://registry.npmjs.org/grunt-bower-task
npm http GET https://registry.npmjs.org/connect-mongo
npm http GET https://registry.npmjs.org/supertest
npm http GET https://registry.npmjs.org/connect-flash
npm http GET https://registry.npmjs.org/should
npm http GET https://registry.npmjs.org/passport
npm http GET https://registry.npmjs.org/grunt-contrib-watch
npm http GET https://registry.npmjs.org/passport-local
npm http GET https://registry.npmjs.org/grunt-contrib-jshint
npm http GET https://registry.npmjs.org/passport-facebook
npm http GET https://registry.npmjs.org/passport-twitter
npm http GET https://registry.npmjs.org/passport-github
npm http GET https://registry.npmjs.org/passport-google-oauth
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/view-helpers
npm http GET https://registry.npmjs.org/mean-logger
npm http GET https://registry.npmjs.org/forever
npm http GET https://registry.npmjs.org/grunt
npm http GET https://registry.npmjs.org/grunt-cli
npm http GET https://registry.npmjs.org/grunt-nodemon
npm http GET https://registry.npmjs.org/grunt-concurrent
npm http GET https://registry.npmjs.org/grunt-mocha-test
npm http 304 https://registry.npmjs.org/jade
npm http 304 https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/connect-mongo
npm http 304 https://registry.npmjs.org/grunt-bower-task
npm http 304 https://registry.npmjs.org/supertest
npm http 304 https://registry.npmjs.org/connect-flash
npm http 304 https://registry.npmjs.org/mongoose
npm http 304 https://registry.npmjs.org/should
npm http 304 https://registry.npmjs.org/passport
npm http 304 https://registry.npmjs.org/grunt-contrib-watch
npm http 304 https://registry.npmjs.org/passport-local
npm http 304 https://registry.npmjs.org/grunt-contrib-jshint
npm http 304 https://registry.npmjs.org/passport-facebook
npm http 304 https://registry.npmjs.org/passport-twitter
npm http 304 https://registry.npmjs.org/passport-github
npm http 304 https://registry.npmjs.org/passport-google-oauth
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/view-helpers
npm http 304 https://registry.npmjs.org/mean-logger
npm http 304 https://registry.npmjs.org/forever
npm http 304 https://registry.npmjs.org/grunt
npm http 304 https://registry.npmjs.org/grunt-cli
npm http 304 https://registry.npmjs.org/grunt-nodemon
npm http 304 https://registry.npmjs.org/grunt-concurrent
npm http 304 https://registry.npmjs.org/grunt-mocha-test
> mean@1.0.0 postinstall c:ms-applicationmean-stack
> node node_modules/grunt-cli/bin/grunt install
Running "bower:install" (bower) task
bower not-cached git://github.com/twbs/bootstrap.git#2.3.2
bower resolve git://github.com/twbs/bootstrap.git#2.3.2
bower not-cached git://github.com/angular/bower-angular.git#~1.0.6
bower resolve git://github.com/angular/bower-angular.git#~1.0.6
bower not-cached git://github.com/angular/bower-angular-resource.git#~1.0.6
bower resolve git://github.com/angular/bower-angular-resource.git#~1.0.6
bower not-cached git://github.com/angular/bower-angular-cookies.git#~1.0.6
bower resolve git://github.com/angular/bower-angular-cookies.git#~1.0.6
bower not-cached git://github.com/angular-ui/bootstrap-bower.git#~0.4.0
bower resolve git://github.com/angular-ui/bootstrap-bower.git#~0.4.0
bower not-cached git://github.com/angular-ui/ui-utils.git#0.0.4
bower resolve git://github.com/angular-ui/ui-utils.git#0.0.4
bower not-cached git://github.com/bestiejs/json3.git#~3.2.4
bower resolve git://github.com/bestiejs/json3.git#~3.2.4
bower not-cached git://github.com/components/jquery.git#~1.9.1
bower resolve git://github.com/components/jquery.git#~1.9.1
Fatal error: Failed to execute "git ls-remote --tags --heads git://github.com/an
gular/bower-angular-cookies.git", exit code of #128
npm ERR! weird error 1
npm ERR! not ok code 0
corsojava@YKLW101934 /c/ms-application/mean-stack
$

"致命错误:无法执行"git ls-remote --tags --head git://github.com/angular/bower-angular-cookies.git",退出代码 #128呵呵!奇怪的错误 1呵呵!不行代码 0"

有什么想法吗?

您可以

尝试Bitnami MEAN堆栈,它为Windows,Linux Mac http://bitnami.com/stack/mean 提供开源安装程序,VM和云映像(免责声明,我是开发人员之一)。它将允许您安装和配置MongoDB,Node等。

最新更新