An error such as "@angular/compiler is not in the npm registry" suggests that Visual Studio 2015 is using an older version of npm.
Update to the latest installed version of npm:
- Tools > Options > Projects and Solutions > External Web Tools.
- On the right, move the
$(PATH) entry above the $ (DevEnvDir) entries. - Restart Visual Studio for this change to take effect.