Remora / Remora.Neos.Headless

REST API for interacting with NeosVR's headless client
GNU Affero General Public License v3.0
10 stars 0 forks source link

[bug] Rest Api not starting #10

Open hazre opened 1 year ago

hazre commented 1 year ago

This is the error message I get:

[ERROR][NeosModLoader] mod Headless REST API from C:\Users\haz\dev\neos-headless\nml_mods\Remora.Neos.Headless.API.Mod.dll threw error from OnEngineInit():
System.MissingMethodException: Method not found: 'Void Grapevine.RestServerBuilder.set_ConfigureServices(System.Action`1<Microsoft.Extensions.DependencyInjection.IServiceCollection>)'.
   at Remora.Neos.Headless.API.Mod.HeadlessApiMod.OnEngineInit()
   at NeosModLoader.ModLoader.HookMod(LoadedNeosMod mod)
        Reading settings file
        Performing version checks and updates, loaded version: 8
Nihlus commented 1 year ago

Interesting. Are you certain you included all files from the mod into the libs folder (except the mod itself, of course)?

hazre commented 1 year ago

Yes I pretty much copy and pasted all the folders inside my neos root. I actually ran into this issue while I was trying to modify the code a bit and ran into this issue after building. I thought it might be issue with the build but then I tried the provided binaries and still same result.

Nihlus commented 1 year ago

Have you installed any other mods after this one?

hazre commented 1 year ago

No it's a fresh headless install running on windows. I haven't tried on Linux yet but I will once it works

Nihlus commented 1 year ago

Since it's Windows, there might be some issues with the GAC being in play... could you try extracting the libraries from the mod into the same directory as Neos.exe instead? I recommend making a backup of the installation beforehand, too.