Error to run the angular2-quickstart

Problem

This issue happened when I tried to run npm install.

Similar to this issue: http://stackoverflow.com/questions/37142544/error-following-angularjs2-quickstart-guide-error-404-angular-is-not-in-the-np

Solution

Upgrading npm resolved this issue:

 

Option 1: edit your Windows installation's PATH to put %appdata%\npm before %ProgramFiles%\nodejs. Remember that you'll need to restart cmd.exe (and potentially restart Windows) when you make changes to PATH or how npm is installed.

Option 2: remove both of

%ProgramFiles%\nodejs\npm
%ProgramFiles%\nodejs\npm.cmd


Option 3: Navigate to %ProgramFiles%\nodejs\node_modules\npm and copy the npmrcfile to another folder or the desktop. Then open cmd.exe and run the following commands:

cd %ProgramFiles%\nodejs
npm install npm@latest

https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows