pcislo / vscode-nuget-gallery

MIT License
61 stars 19 forks source link

can't open Nuget Gallery in VSCodium (complains about no finding index.html) #102

Closed Draugor closed 4 months ago

Draugor commented 1 year ago

Hello,

i installed NuGet Gallery in VSCodium but when i tried to open it via the command or per right-click on a csproj-file i would get the error: grafik

after some experimentation, i installed VSCode and tested it there, and it worked. So looking at the extensions directories and comparing them, it seems the open-vsc extension is missing the "../web/dist/" folder so i could fix that by copying it over, still wanted to let you know :)

kind regards

sjsepan3 commented 1 year ago

I have an error that seems related, at least by the path involved. However, I get it using the NuGet Gallery (v0.0.24 Preview) with the Code OSS pkg on GhostBSD.

Code OSS About:

Version: 1.80.1
Commit: 74f6148eb9ea00507ec113ec51c489d6ffb4b771
Date: 2023-07-28T17:39:24.159Z
Electron: 22.3.17
ElectronBuildId: undefined
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: FreeBSD x64 13.2-STABLE

The path it is looking for in the error message is... /home/sjsepan/.vscode-oss/extensions/patcx.vscode-nuget-gallery-0.0.24-universal/web/dists/index.html ...and the path that I have on my system is... /home/sjsepan/.vscode-oss/extensions/patcx.vscode-nuget-gallery-0.0.24-universal/web/public/index.html

Screenshot at 2023-08-21 01-06-46 Screenshot at 2023-08-21 11-23-54

UPDATE1: I looked at my VSCodium and VSCode installations on my Linux Mint machine, and both the .vscode and .vscode-oss folders contain the missing dist folder, including the index.html and some .js and .css files. So I copied that over to my GhostBSD machine and tried the gallery again, which now opens without that error.