From 0cfa47a09197d092c01538e1ddcbe902723df9a6 Mon Sep 17 00:00:00 2001 From: Vesa Juvonen Date: Mon, 27 Feb 2017 12:41:40 +0200 Subject: [PATCH] Updates on dev env setup around npm --- docs/spfx/set-up-your-development-environment.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/spfx/set-up-your-development-environment.md b/docs/spfx/set-up-your-development-environment.md index dfa8c12a68..6b8f41a12f 100644 --- a/docs/spfx/set-up-your-development-environment.md +++ b/docs/spfx/set-up-your-development-environment.md @@ -19,16 +19,16 @@ Install [NodeJS](https://nodejs.org/en/) Long Term Support (LTS) version. * If you have NodeJS already installed please check you have the latest version using `node -v`. It should return the current [LTS version](https://nodejs.org/en/download/). * If you are using a Mac, it is recommended you use [homebrew](http://brew.sh/) to install and manage NodeJS. -After installing node, make sure you are running V3 of npm by running the following command: +After installing node, make sure npm is up to date by running following command: ``` -npm install -g npm@3 +npm install -g npm ``` In case of Ubuntu Linux previous command might result in 'permission denied' message, so it should be instead executed as ``` -sudo npm install -g npm@3 +sudo npm install -g npm ``` ### Code Editors