Whose Error Is It?
Node.js printed this
TypeError: Cannot read properties of undefined (reading 'map')
What it meansYou called .map on a value that is undefined, so the array you expected had not been set when this line ran.
The first thing to checkCommonly the data has not loaded yet or the property name is wrong; log the object, then default it with (data ?? []).map or check the API shape.
The walrus saysEvery frontend dev has typed this in their sleep.