Using 1.8.1, node.getX/getY do not seem to exist. This is reflected in the example shown in pathfinder.lua, which uses node.x and node.y instead.