diff --git a/.travis.yml b/.travis.yml index 768fb150bd..be18b9d9f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ language: node_js node_js: - "0.10" + +# let's give a try. before_script: - export DISPLAY=:99.0 diff --git a/README.md b/README.md index e5540ca02c..5c30aaf75d 100644 --- a/README.md +++ b/README.md @@ -278,6 +278,10 @@ along with a CI service (in Jenkins) hosted that will run unit and end to end te For more information on AngularJS please check out http://angularjs.org/ +## Troubleshooting + +Check [troubleshoot.rst](troubleshoot.rst) for common errors and solutions. + [git]: http://git-scm.com/ [bower]: http://bower.io [npm]: https://www.npmjs.org/ @@ -286,4 +290,4 @@ For more information on AngularJS please check out http://angularjs.org/ [jasmine]: http://pivotal.github.com/jasmine/ [karma]: http://karma-runner.github.io [travis]: https://travis-ci.org/ -[http-server]: https://github.com/nodeapps/http-server \ No newline at end of file +[http-server]: https://github.com/nodeapps/http-server diff --git a/troubleshoot.rst b/troubleshoot.rst new file mode 100644 index 0000000000..84de1a7584 --- /dev/null +++ b/troubleshoot.rst @@ -0,0 +1,46 @@ +Tracking errors and solutions for the angular-seed project. + +fatal: unable to connect to github.com +-------------------------------------- + +Here are the details error message you may see +when you try to execute **bower install** :: + + > bower install + + Additional error details: + fatal: unable to connect to github.com: + github.com[0: 192.30.252.130]: errno=Connection refused + + npm ERR! angular-seed@0.0.0 postinstall: `bower install` + npm ERR! Exit status 1 + npm ERR! + npm ERR! Failed at the angular-seed@0.0.0 postinstall script. + npm ERR! This is most likely a problem with the angular-seed package, + npm ERR! not with npm itself. + npm ERR! Tell the author that this fails on your system: + npm ERR! bower install + npm ERR! You can get their info via: + npm ERR! npm owner ls angular-seed + npm ERR! There is likely additional logging output above. + npm ERR! System Linux 2.6.18-128.el5 + npm ERR! command "/usr/opspedia/xampp/rd/cfgrepo/sample/nodejs/parts/nodejs-build/bin/node" "/usr/opspedia/xampp/rd/cfgrepo/sample/nodejs/parts/nodejs-build/bin/npm" "install" + npm ERR! cwd /usr/opspedia/xampp/rd/angular-seed + npm ERR! node -v v0.10.25 + npm ERR! npm -v 1.3.24 + npm ERR! code ELIFECYCLE + npm ERR! + npm ERR! Additional logging details can be found in: + npm ERR! /usr/opspedia/xampp/rd/angular-seed/npm-debug.log + npm ERR! not ok code 0 + +bower is trying to use **git** to fetch some packages +directly from github.com. +By default, git will use **git://** protocol. +In my case here, my corporation's firewall blocked that protocol. +The easy solution is telling **git** to use **https://** instead of +**git://**. +Here is git config:: + + $ cd angular-seed + $ git config url."https://".insteadof git://