-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Hi, today when I tried to run bots I got this error message:
pi@raspberrypi:~ $ sudo nodejs /home/pi/inspect/index.js
/home/pi/inspect/lib/game_data.js:75
this.csgo_english = this.objectKeysToLowerCase(vdf.parse(f)['lang']['Tokens']);
^
TypeError: Cannot read properties of undefined (reading 'Tokens')
at GameData.loadFiles (/home/pi/inspect/lib/game_data.js:75:80)
at new GameData (/home/pi/inspect/lib/game_data.js:53:18)
at Object. (/home/pi/inspect/index.js:18:16)
at Module._compile (node:internal/modules/cjs/loader:1504:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1588:10)
at Module.load (node:internal/modules/cjs/loader:1282:32)
at Module._load (node:internal/modules/cjs/loader:1098:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:215:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:5)
Node.js v22.5.1
(the '^' symbol is exactly after ['lang'], on the '[')
Ealier today everything was working just fine so I'm wondering if it is known bug or I messed something up?
Cheers!