Sorry, the error isn't at line 43, but 34. I've corrected the original post.
tree.minable.count = round(tree.minable.count * areaScale)
This is the offending line. As a workaround I changed it to
tree.minable.count = round((tree.minable.count or 1) * areaScale)
but since I have no idea of what this line is supposed to do and how it interacts with anything else in the mod I have of course no idea whether this is an actual fix. At least the mod loads properly now.