Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Closed Issue: Bug: Install New NPM package GUI fails [1518]

$
0
0
Download complete
Reading 57931764 bytes from C:\Users\Developer\AppData\Local\Microsoft\Node.js Tools\NpmCache\all_packages.json (04/11/2014 01:47:18)
Download or parsing failed. Try refreshing the catalog again. Otherwise delete the package cache from C:\Users\Developer\AppData\Local\Microsoft\Node.js Tools\NpmCache and try again.
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at SQLite.TableQuery`1.First()
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogCommand.<ExecuteAsync>d__35.MoveNext()
Download or parsing failed. Try refreshing the catalog again. Otherwise delete the package cache from C:\Users\Developer\AppData\Local\Microsoft\Node.js Tools\NpmCache and try again.

I have tried deleting the all_packages.json and the sqllite db, refreshed and repeated the process several times. Everytime the process fails with the above error.
Comments: Could not repro exact scenario, but db changes may fix this. Also added more helpful error message.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>