Pages

Saturday 28 January 2017

[Fixed] Angular 2, ng serve Error: no errors

                                    So guys i created an app using angular-cli and it was giving error like shown in the pic below.


This problem is due to the latest version extract-text-webpack-plugin and to solve this problem just run the command shown in the picture below.

npm install extract-text-webpack-plugin@2.0.0-rc.0 --save-dev

And this will surely solve your problem.

Monday 23 January 2017

Node version manager in macOS Sierra

                                  It's pretty simple to install node version manager(NVM) in macOS Sierra just run these commands one by one in your iTerm2


curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash


1
2
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

After this type nvm into your iTerm2 as shown in the picture below.

and voila thats how you can install nvm in macOS Sierra :D