PathFinding.js icon indicating copy to clipboard operation
PathFinding.js copied to clipboard

TypeError: Cannot read properties of undefined (reading 'x')

Open Stevenbdl opened this issue 4 years ago • 2 comments

Line issue: endX = this.endNode.x, Line where is issue

My solution: endX = this.endNode?.x, endY = this.endNode?.y For more details

Stevenbdl avatar Oct 20 '21 21:10 Stevenbdl

@Stevenbdl some code would help

lafkpages avatar Sep 15 '22 16:09 lafkpages

That error is probably caused by the hack that you described in the other issue that you opened #199

Either way the root issue likely on your end. (see my comment on the other issue)

ZoranRavic avatar Oct 01 '22 16:10 ZoranRavic