简体   繁体   中英

Problems installing angular 2 packages using npm in VS2015 Update 2

I am attempting to use the latest angular2 quickstart files with a new empty ASP.NET Core 1.0 Web Application.

VS2015 Update 2 - w/ Core 1.0 RC2 installed

Steps to reproduce:
Create a new project using ASP.NET Core Web Application (.NET Core) - Empty Template

Add the 4 angular quick-start files to your root directory, NOT Hitting save on package.json until the other 3 are added and saved.

Finally, hit save on package.json and npm will start installing all of the packages. However, at the end I see Dependencies - not installed, npm - not installed. I can't figure out what could be causing this. It has to be a VS2015 / npm bug because if I use VSCode and npm from command line everything installs perfectly with this package.json file.

This is a bug in the Web Tools for ASP.NET Core RC2, which was discovered after RC2 was shipped. It's only that the "- not installed" UI is showing up incorrectly. The packages are successfully installed.

I'm not sure what is causing it yet, but we are aware of the issue and will try to fix this in a future release of the Web Tools.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM