Showing posts with label yeoman. Show all posts
Showing posts with label yeoman. Show all posts

Tuesday, May 20, 2014

Grunt Watch Fatal error: listen EACCES and livereload

//Change the port
 connect: {
            options: {
                port: 8080,
                // change this to '0.0.0.0' to access the server from outside
                hostname: 'localhost'
            },

Fatal error: unable to find Gruntfile.

//  grunt is installed locally, as verified by
npm ls | grep grunt

Friday, May 16, 2014

Git- clone the existing github project into the local repository

// just git clone steps
git clone https://github.com/ssthil/AngularJS-Yeoman.git
// just check bower version
bower --v
1.3.3

// just check npm version
npm --v
1.3.24

// just check grunt version
grunt -version
grunt-cli v0.1.13
grunt v0.4.5

//if you are still getting error like, Fatal error: unable to find local grunt then run this
npm install grunt --save-dev

// just check ruby version
ruby -version

// just check compass version
compass -version

// npm install
npm install

// bower install
npm install -g bower

// exit from window Git Bash
exit

// bower install
npm install bower

// bower install run this command
./node_modules/bower/bin/bower install

Javascript find highest and lowest from the given inputs

function highAndLow(numbers){ // numbers = "4 5 29 54 4 0 -214 542 -64 1 -3 6 -6"   let numbersInArr = numbers.split(' ...