Day 5 – RedM/CFX/VORP Project – [script:vorp_inventor] Failed to instantiate instance of script vorpinventory_sv.Config

[script:vorp_inventor] Loaded vorpinventory_sv.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_453429436
[script:vorp_inventor] Failed to instantiate instance of script vorpinventory_sv.Config: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.TypeLoadException: Could not resolve type with token 01000015 from typeref (expected class ‘CitizenFX.Core.Player’ in assembly ‘CitizenFX.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’)


vorpinventory_sv.Config

File does not exist in directory structure of GITHUB vorp files.

Basic google search does not return many results, nor do they appear to be relevant.

Migraine kicking in, stopping till it stops. 11/16/2021 – 4:43 am

Picked back up 11/19/2021

I original copied the clone of the github repository and recieved the error.

Next I tried using just the build directory contents from the github repository and had the same error.

Solution. Deleted the module. https://github.com/VORPCORE/VORP-Inventory/releases
Downloaded this file “https://github.com/VORPCORE/VORP-Inventory/releases/download/JohnMarston/vorp_inventory.zip” and unpacked it. Then created “resources\vorp_inventory\Config” directory and reloaded the server.
Error has stopped.

The same issue occured for banks, and clothing store. Go to these links and download the newest zip, unpack it, and create the Config directiory and the errors will be resolved.

https://github.com/VORPCORE/VORP-Banks/releases

https://github.com/VORPCORE/VORP-ClothingStore/releases