Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

[bug] Rest Api not starting #10

Open
hazre opened this issue Jul 6, 2023 · 5 comments
Open

[bug] Rest Api not starting #10

hazre opened this issue Jul 6, 2023 · 5 comments

Comments

@hazre
Copy link

hazre commented Jul 6, 2023

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
Copy link
Member

Nihlus commented Jul 14, 2023

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

@hazre
Copy link
Author

hazre commented Jul 16, 2023

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
Copy link
Member

Nihlus commented Jul 16, 2023

Have you installed any other mods after this one?

@hazre
Copy link
Author

hazre commented Jul 16, 2023

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

@Nihlus
Copy link
Member

Nihlus commented Jul 16, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants