-
Notifications
You must be signed in to change notification settings - Fork 357
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 refresh hangs on refresh #398
Comments
I am experiencing the same issue but using VS2015 on Win8. There is a workaround mentioned by @mousetraps in another issue that worked for me but temporarily. It turns out that as soon I erase the cache in *%localappdata%\Microsoft\Node.js Tools* and click again on Refresh, the window remains Loading published package list... / Download completed - updating database eternally. My output log is:
@mousetraps - Any other information that you need just let me know. |
I believe this is the issue I've found and started fixing as discussed in #415 (comment) and the next couple of comments. I hope to have a full fix for this in shortly. |
@billti Thanks a lot for the feedback. @MarkAurit since root cause were covered in details on issue #415 this issue should considered closed. What do you think @billti? |
Actually, looks like #415 had another root cause, which we seem to have found. I'll keep this issue open for tracking the NPM refresh issue. |
NPM catalog schema change causes high CPU (#398)
This is merged into master now. |
@MarkAurit @jamesxv7 We just pushed a new release with this fix. See https://github.com/Microsoft/nodejstools/releases if you'd like to check it out. Thanks! |
@billti |
windows 7/64 bit/8G
vs 2013 professional
Ive just created a small 'blank console' project and added express using the npm manager express. After adding it I noticed there was a red message that the catalog of packages was old, so I hit refresh, and it just hangs on the 'loading published package list' dialog. After a few minutes, if I close it, and then choose the "install new package" option, I just get the same dialog. If I let it go for a total of maybe 5-7 minutes I get a "refresh failed - see output below for details", although there is no output that I can tell.
nothing in C:\Users\AppData\Local\Microsoft\Node.js Tools\NpmCache looked helpful
SOLVED: closed the project, shutdown vs, opened vs and the project. Now I get the original
screen when adding a package (including the "updated more than 1 month ago" message,
which apparently I need to ignore).
The text was updated successfully, but these errors were encountered: