"Has anyone else out there encountered this weird bug in a JS project? I'm working on a script that's supposed to automate some tasks on a blockchain explorer, but it just stops working randomly with this 'undefined is not a function' error on a line that's clearly calling a function... anyone have any ideas?"