Using Angular 2 with VS2015 Update 2 - getting npm - no error fixed

I created the empty core 1.0 web application and added the package.json file by copying angular2 to quickly launch package.json lines from this URL .

I keep getting the Dependencies - Not Installed and npm - Not Installed message.

Does anyone know why this is happening? Do I really need to install node.js on my PC so that Visual Studio can use it? Bower works great ...

+8
angularjs visual-studio visual-studio-2015
source share
1 answer

This issue is tracked here: https://github.com/aspnet/Tooling/issues/479

Reinstalling Visual Studio to a different npm path will most likely not make a difference - Visual Studio still seems to interpret the dependency on a package that is not supported on Windows as a problem.

This is a problem only with the IDE. You can still create and run without resolving this problem.

But if you prefer to get rid of the not installed indicator, identify and remove the corrupted package, then manually delete the node_modules folder and save package.json .

+2
source share

All Articles