首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装mean堆栈时出现意外错误

安装mean堆栈时出现意外错误
EN

Stack Overflow用户
提问于 2013-09-23 20:17:39
回答 1查看 931关注 0票数 0

我正在尝试用git bash在windows xp上安装平均堆栈。我从mean.io下载了压缩包,当我在mean堆栈的目录上启动'npm install‘时,我发现了这个错误,尽管我遵循了mean.io的所有指令:

代码语言:javascript
复制
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-application\mean-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/an gular/bower-angular-cookies.git",退出代码为#128 npm ERR!奇怪错误1 npm ERR!not ok code 0”

有什么想法吗?

EN

回答 1

Stack Overflow用户

发布于 2013-12-28 07:45:02

你可以试试Bitnami MEAN stack,它为Windows、Linux、Mac http://bitnami.com/stack/mean提供了开源安装程序、虚拟机和云镜像(免责声明,我是开发者之一)。它将允许您安装和配置MongoDB、节点等。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18959053

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档