Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lambidu/7c238e8f1ff5b85b058be82e7e4913ee to your computer and use it in GitHub Desktop.
Save lambidu/7c238e8f1ff5b85b058be82e7e4913ee to your computer and use it in GitHub Desktop.

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:

  1. Tools > Options > Projects and Solutions > External Web Tools.
  2. On the right, move the $(PATH) entry above the $(DevEnvDir) entries.
  3. Restart Visual Studio for this change to take effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment