From 81ebdfb8effb8bc7f5d0fc8ac4fee9788abe08cb Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Sat, 21 May 2016 18:36:27 +0200 Subject: [PATCH] docs: add strong advice on node and npm versions --- public/docs/ts/latest/guide/npm-packages.jade | 14 +++++++++++--- public/docs/ts/latest/quickstart.jade | 5 +++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/public/docs/ts/latest/guide/npm-packages.jade b/public/docs/ts/latest/guide/npm-packages.jade index 4997eafd28..fa7b402a26 100644 --- a/public/docs/ts/latest/guide/npm-packages.jade +++ b/public/docs/ts/latest/guide/npm-packages.jade @@ -5,9 +5,17 @@ include ../_util-fns These packages are maintained and installed with the Node Package Manager (npm). .l-sub-section :marked - Don't have npm? - Get it now - because we're going to use it now and repeatedly throughout this documentation. + Node.js and npm are essential to Angular 2 development. + + + Get it now if it's not already installed on your machine + + **Verify that you are running node `v5.x.x` and npm `3.x.x`** + by running `node -v` and `npm -v` in a terminal/console window. + Older and newer versions produce errors. + + We recommend [nvm](https://github.com/creationix/nvm) for managing multiple versions of node and npm. + :marked We recommend a comprehensive starter-set of packages as specified in the `dependencies` and `devDependencies` sections of the QuickStart diff --git a/public/docs/ts/latest/quickstart.jade b/public/docs/ts/latest/quickstart.jade index 782e3d4713..1ee4a13068 100644 --- a/public/docs/ts/latest/quickstart.jade +++ b/public/docs/ts/latest/quickstart.jade @@ -49,6 +49,11 @@ block setup-tooling :marked Install **[Node.jsĀ® and npm](https://nodejs.org/en/download/)** if they are not already on your machine. + .l-sub-section + :marked + **Verify that you are running node `v5.x.x` and npm `3.x.x`** + by running `node -v` and `npm -v` in a terminal/console window. + Older and newer versions produce errors. block download-source .l-main-section