Showing posts with label Angular 2. Show all posts
Showing posts with label Angular 2. Show all posts

Saturday, August 6, 2016

Setting up Angular 2..


You may head to Angular official guide to getting started but some things might be missing there which I covered here.
https://angular.io/docs/ts/latest/quickstart.html


Q: Latest Node installed but not  the latest npm.
A:  npm updates itself to latest
If windows use
       npm install npm -g
Other use 
       sudo npm install npm -g

Ref: http://blog.npmjs.org/post/85484771375/how-to-install-npm


Q:install typing error
A: make sure you run npm as administrator and run below commands
  • Typings: npm install -g typings
  • Tsd: npm install -g tsd
and then use
npm run typings install
and below command in case your previous npm install failed
npm install
Ref: http://stackoverflow.com/questions/35449005/npm-start-is-not-working-for-angular-2-quickstart

Q:unable to compile typescript code in Visual studio code
A: The TypeScript compiler does have to be manually installed using npm install -g typescript.

Ref: http://stackoverflow.com/questions/31189875/does-vs-code-install-typescript-and-if-so-where

Q:


Devops links

  Build Versioning in Azure DevOps Pipelines