aliasadidev / vscode-npm-gui

vscode nuget package manager gui https://marketplace.visualstudio.com/items?itemName=aliasadidev.nugetpackagemanagergui
MIT License
48 stars 16 forks source link

[An error occurred in the loading package versions (package:MyPackage)] Unexpected end of JSON input #26

Closed LynxWall closed 3 years ago

LynxWall commented 3 years ago

Packages are hosted in ProGet package Server. App shows loaded versions and can search for packages in ProGet. However, attempting to run Load Package Versions throws this error.

LynxWall commented 3 years ago

Figured out the issue. Needed to use the flatfile URL, which returned correct version information. Their search URL also ends with /search instead of the common /query.

aliasadidev commented 3 years ago

I think your problem is same as #15, this extension only support NuGet standard JSON result.
To see your API result follow the below steps: VSCode -> Menu -> Help -> Toggle Developer Tools > Console Tab

*compare it with NuGet result https://azuresearch-usnc.nuget.org/query

check out settings.json too