错误代码:
The application had a critical error and failed to run
Exception produced: Error
Stacktrace:
Error: Cannot inject the dependency “httpServer” at position #5 of “App” constructor. Reason:
Cannot inject the dependency “httpListeners” at position #4 of “HttpServer” constructor. Reason:
Cannot inject the dependency “httpRouter” at position #0 of “SptHttpListener” constructor. Reason:
Cannot inject the dependency “staticRouters” at position #0 of “HttpRouter” constructor. Reason:
Cannot inject the dependency “gameCallbacks” at position #0 of “GameStaticRouter” constructor. Reason:
Cannot inject the dependency “gameController” at position #3 of “GameCallbacks” constructor. Reason:
Cannot inject the dependency “customLocationWaveService” at position #11 of “GameController” constructor. Reason:
Config: spt-location is undefined. Ensure you have not broken it via editing
at C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:324:23
at Array.map (<anonymous>)
at C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:295:38
at InternalDependencyContainer.construct (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:297:11)
at InternalDependencyContainer.resolveRegistration (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:166:51)
at InternalDependencyContainer.resolve (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:109:33)
at Program.start (C:\snapshot\src\Program.ts:29:28)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:64:3)
at Function.runMain (pkg/prelude/bootstrap.js:1984:13)
3.9.8
已配图
是
服务端报错