Skip to content

Instantly share code, notes, and snippets.

@rahul-desai3
Created July 23, 2014 17:35
Show Gist options
  • Save rahul-desai3/a7345d19fe1194c45776 to your computer and use it in GitHub Desktop.
Save rahul-desai3/a7345d19fe1194c45776 to your computer and use it in GitHub Desktop.
yo angular
c:\>mkdir ng-news
c:\>cd ng-news
c:\ng-news>npm cache clean
c:\ng-news>yo angular
_-----_
| | .--------------------------.
|--(o)--| | Welcome to Yeoman, |
`---------' | ladies and gentlemen! |
( _'U`_ ) '--------------------------'
/___A___\
| ~ |
__'.___.'__
' ` |° ' Y `
Out of the box I include Bootstrap and some AngularJS recommended modules.
[?] Would you like to use Sass (with Compass)? No
[?] Would you like to include Bootstrap? Yes
[?] Which modules would you like to include?
create app\styles\main.css
create app\index.html
create bower.json
create .bowerrc
create package.json
create Gruntfile.js
invoke angular:common:C:\Users\Rahul\AppData\Roaming\npm\node_modules\gener
ator-angular\app\index.js
create .editorconfig
create .gitattributes
create .jshintrc
create .gitignore
create test\.jshintrc
create app\.buildignore
create app\.htaccess
create app\404.html
create app\favicon.ico
create app\robots.txt
create app\views\main.html
create app\images\yeoman.png
invoke angular:main:C:\Users\Rahul\AppData\Roaming\npm\node_modules\generat
or-angular\app\index.js
create app\scripts\app.js
invoke angular:controller:C:\Users\Rahul\AppData\Roaming\npm\node_modules\g
enerator-angular\app\index.js
create app\scripts\controllers\main.js
create test\spec\controllers\main.js
invoke karma:app
I'm all done. Running bower install & npm install for you to install the require
d dependencies. If this fails, try running the command yourself.
create test\karma.conf.js
create .travis.yml
npm WARN package.jsonnpm [email protected] No description
WARN npm package.json [email protected] No description
WARN npmpackage.json [email protected] No repository field.
WARN package.json [email protected] No repository field.
npm WARN npmpackage.json [email protected] No README data
WARN package.json [email protected] No README data
bower cached git://github.com/angular/bower-angular.git#1.2.16
bower validate 1.2.16 against git://github.com/angular/bower-angular.git#1.
2.16
bower cached git://github.com/angular/bower-angular-mocks.git#1.2.16
bower validate 1.2.16 against git://github.com/angular/bower-angular-mocks.
git#1.2.16
bower cached git://github.com/bestiejs/json3.git#3.3.2
bower validate 3.3.2 against git://github.com/bestiejs/json3.git#~3.3.1
bower cached git://github.com/es-shims/es5-shim.git#3.1.1
bower validate 3.1.1 against git://github.com/es-shims/es5-shim.git#~3.1.0
bower cached git://github.com/angular/bower-angular-scenario.git#1.2.16
bower validate 1.2.16 against git://github.com/angular/bower-angular-scenar
io.git#1.2.16
bower cached git://github.com/twbs/bootstrap.git#3.2.0
bower validate 3.2.0 against git://github.com/twbs/bootstrap.git#~3.2.0
npm WARN deprecated [email protected]: use grunt-ng-annotate instead
npm WARN deprecated [email protected]: use ng-annotate instead
npm ERR! fetch failed https://registry.npmjs.org/clean-css/-/clean-css-2.1.8.tgz
npm ERR! fetch failed https://registry.npmjs.org/clean-css/-/clean-css-2.1.8.tgz
npm ERR! fetch failed https://registry.npmjs.org/clean-css/-/clean-css-2.1.8.tgz
npm ERR! network socket hang up
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settin
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd c:\ng-news
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ECONNRESET
bower cached git://github.com/jquery/jquery.git#2.1.1
bower validate 2.1.1 against git://github.com/jquery/jquery.git#>= 1.9.0
npm ERR! fetch failed https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
npm ERR! registry error parsing json
bower install json3#3.3.2
install angular#1.2.16
bower install es5-shim#3.1.1
bower install angular-mocks#1.2.16
bower install angular-scenario#1.2.16
bower install bootstrap#3.2.0
bower install jquery#2.1.1
/
json3#3.3.2 bower_components\json3
angular#1.2.16 bower_components\angular
es5-shim#3.1.1 bower_components\es5-shim
angular-mocks#1.2.16 bower_components\angular-mocks
└── angular#1.2.16
angular-scenario#1.2.16 bower_components\angular-scenario
└── angular#1.2.16
bootstrap#3.2.0 bower_components\bootstrap
└── jquery#2.1.1
jquery#2.1.1 bower_components\jquery
npm ERR! fetch failed https://registry.npmjs.org/glob/-/glob-3.2.11.tgz
npm ERR! fetch failed https://registry.npmjs.org/google-cdn-data/-/google-cdn-da
ta-0.1.5.tgz
npm ERR! fetch failed https://registry.npmjs.org/clone/-/clone-0.1.17.tgz
npm ERR! fetch failed https://registry.npmjs.org/bower-json/-/bower-json-0.4.0.t
gz
npm ERR! fetch failed https://registry.npmjs.org/bower-json/-/bower-json-0.4.0.t
gz
npm ERR! fetch failed https://registry.npmjs.org/clone/-/clone-0.1.17.tgz
npm ERR! fetch failed https://registry.npmjs.org/bower-registry-client/-/bower-r
egistry-client-0.2.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/nopt/-/nopt-3.0.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/nopt/-/nopt-3.0.1.tgz
npm ERR! network socket hang up
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settin
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "karma-phantomjs-launcher" "k
arma-jasmine" "grunt-karma" "--save-dev"
npm ERR! cwd c:\ng-news
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.2
.tgz
npm ERR! fetch failed https://registry.npmjs.org/tmp/-/tmp-0.0.23.tgz
npm ERR! fetch failed https://registry.npmjs.org/source-map/-/source-map-0.1.37.
tgz
npm ERR! fetch failed https://registry.npmjs.org/cardinal/-/cardinal-0.4.4.tgz
npm ERR! fetch failed https://registry.npmjs.org/sudo-block/-/sudo-block-0.2.1.t
gz
npm ERR! fetch failed https://registry.npmjs.org/mout/-/mout-0.7.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/mout/-/mout-0.7.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/tmp/-/tmp-0.0.24.tgz
npm ERR! fetch failed https://registry.npmjs.org/open/-/open-0.0.5.tgz
npm ERR! fetch failed https://registry.npmjs.org/is-upper-case/-/is-upper-case-0
.0.1.tgz
ERR! fetch failed https://registry.npmjs.org/pascal-case/-/pascal-case-0.1.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/title-case/-/title-case-0.1.0.t
gz
npm ERR! fetch failed https://registry.npmjs.org/open/-/open-0.0.5.tgz
npm WARN optional dep failed, continuing imagemin-optipng@^0.1.0
npm ERR! fetch failed https://registry.npmjs.org/q/-/q-1.0.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/estraverse/-/estraverse-1.3.2.t
gz
npm ERR! fetch failed https://registry.npmjs.org/astral-pass/-/astral-pass-0.1.0
.tgz
npm ERR! fetch failed https://registry.npmjs.org/gzip-size/-/gzip-size-0.1.1.tgz
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! c:\ng-news\npm-debug.log
npm ERR! not ok code 0
npm ERR! fetch failed https://registry.npmjs.org/p-throttler/-/p-throttler-0.0.1
.tgz
npm ERR! fetch failed https://registry.npmjs.org/estraverse/-/estraverse-1.3.2.t
gz
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! c:\ng-news\npm-debug.log
npm ERR! not ok code 0
app/index.html modified.
c:\ng-news>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment