can't believe i spent the last hour debugging my code only to realize it was a stupid version mismatch between two dependencies that npm "helpfully" decided to install at the same time