-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathincome_trace_output.txt
More file actions
24 lines (21 loc) · 2.48 KB
/
Copy pathincome_trace_output.txt
File metadata and controls
24 lines (21 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
node : E:\lifegame\game_engine_integrated.js:58
At line:1 char:1
+ node tests/debug_income_trace.js 2>&1 > income_trace_output.txt
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (E:\lifegame\game_engine_integrated.js:58:String
) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
const weighted = cards.map(card => {
^
TypeError: Cannot read properties of undefined (reading 'map')
at MortalityGameIntegrated.weightedDraw (E:\lifegame\game_engine_integrated.js:58:28)
at MortalityGameIntegrated.createPlayer (E:\lifegame\game_engine_integrated.js:36:24)
at Object.<anonymous> (E:\lifegame\tests\debug_income_trace.js:5:23)
at Module._compile (node:internal/modules/cjs/loader:1706:14)
at Object..js (node:internal/modules/cjs/loader:1839:10)
at Module.load (node:internal/modules/cjs/loader:1441:32)
at Function._load (node:internal/modules/cjs/loader:1263:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
Node.js v22.19.0