Saturday, April 9, 2016

Fun with Yeoman and NPM

Run instructions according to

http://yeoman.io/codelab/preview-inbrowser.html

Few notes:

1. While installing bower, specify prefix for directory
$ npm config set prefix /usr/local
$ npm install -g bower

$ which bower
>> /usr/local/bin/bower 

2.

Instead of  npm install -g generator-angular

Use

npm install -G generator-angular otherwise yo angular complains that generator is not installed... weird.

3. Karma did not get installed? Even though it suppose to be installed! I had to manually run:

No comments:

Post a Comment