Hey, was asking for help with an error I am facing, Was deleted from the comments so I assume that wasnt the place for it.
Error is as follows.
The application had a critical error and failed to run
Exception produced: Error
Stacktrace:
Error: Cannot find module './Config/config.json'
Require stack:
- /opt/server/user/mods/zzBlackMamba-AllTheLoot/src/AllTheLoot/AllTheLoot_Main.js
- /opt/server/user/mods/zzBlackMamba-AllTheLoot/src/AllTheLoot/AllTheLoot_Init.js
- /opt/server/user/mods/zzBlackMamba-AllTheLoot/src/mod.js
- /snapshot/project/obj/loaders/PreSptModLoader.js
- /snapshot/project/obj/controllers/GameController.js
- /snapshot/project/obj/callbacks/GameCallbacks.js
- /snapshot/project/obj/di/Container.js
- /snapshot/project/obj/Program.js
- /snapshot/project/obj/ide/ReleaseEntry.js
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Function._resolveFilename (pkg/prelude/bootstrap.js:1955:46)
at Function.Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at Module.require (pkg/prelude/bootstrap.js:1851:31)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (/opt/server/user/mods/zzBlackMamba-AllTheLoot/src/AllTheLoot/AllTheLoot_Main.ts:8:1)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._compile (pkg/prelude/bootstrap.js:1894:32)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1435:10)