Tag

Node.js

3 posts

Code

Install Node.js and Yarn

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. It could used to create front-end project easily. Yarn is a fast dependency management tool. npm is great, but yarn could make the management better.

Code

Hou, a simple toolkit for Node.js

For the purpose of providing a web service to a Node.js project to users, we may require a small middleware to start an HTTP service to handle the HTTP requests.

Code

bower unable to connect to github.com

bower install 遇到错误如下:

Bash
bower angular-scenario#>=1.2.*          resolve git://github.com/angular/bower-angular-scenario.git#>=1.2.*
bower bootstrap#~3.1.1                  ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/twbs/bootstrap.git", exit code of #128

Additional error details:
fatal: unable to connect to github.com: