-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Npm install crashes Visual Studio 2015 RTM #968
Comments
@vkichline, can you see if you can repro? |
Number of devs in our team are also experiencing this issue. |
Its also affecting a member on my team we have narrowed it down to on start up it seems to try and restore packages using |
We seem to have found a fix - at least for the project we're working on. We could run npm install in command prompt with Visual Studio running in background and Visual Studio would just suddenly crash, we then couldn't start Visual Studio until the node_modules folder was deleted. The fix for us was:
There was a lot of faces in palms when we discovered this.... :) |
We also have found a slightly different work around, it seems like it only happens when using npm with git. so adding the node_modules folder to .gitignore resolved our problem here. It seems the visual studio git library doesn't like when it suddenly gets 70,000+ files added. |
This issue is being closed because it has not been updated in 3 months. We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate. |
I have copied some fragments to my gulpfile.js and I try to add the required packages to package.json. But every time I hit the save button, and npm install kicks off, this crashes Visual Studio. How can I troubleshoot this further?
The text was updated successfully, but these errors were encountered: