From the course: SharePoint Framework for Developers: 1 Understanding the Toolchain

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Update npm

Update npm

- [Instructor] At this point, you should have Node.js installed and you should also have some sort of terminal installed that you can use Node.js through. Remember that the DOS prompt terminal is not going to be ideal on a Windows machine. So PowerShell is fine. Git Bash is fine, but some sort of terminal other than DOS prompt. So if you type node --version, it gives you a version, that means Node.js installed. The next thing we need to look at is NPM or Node Package Manager. So I'm going to say npm --version and it tells me that I'm on version 5.6. You may be on an older version. Remember that when you install Node.js, it comes with a certain version. Npm iterates, new versions are released of Npm, a lot more often than Node.js. What that means for you is that soon as you install Node.js, you also need to update Npm. So we're going to do this npm update -g npm Now if you're on a Mac, go ahead and type sudo npm update -g. What's I'm doing over here is that I'm issuing a command called…

Contents