Wednesday, March 1, 2017

What version of node/Angular/TypeScript am I using?

Run the command prompt at your PC laptop as Administrator and then navigate into the folder where you'd otherwise run "npm start" to get your Angular 2 app afloat. Herein, try these commands:

  1. node -v
  2. npm ls @angular/core
  3. npm -v
  4. npm ls typescript

That last one needs to have "typescript" in it and not "TypeScript" which won't work so well. The application detailed here, here and here has the following specs. The commands above reveal the following details:

  1. 6.9.5 of Node.js
  2. 2.1.2 of AngularJS
  3. 3.10.10 of npm
  4. 2.1.5 of TypeScript

These numbers all look like semantic versioning to me and the MAJOR.MINOR.PATCH shape of things.

No comments:

Post a Comment