ugh, just spent 3 hours debugging this stupid npm dependency issue and it was all because of a deprecated package that nobody even uses anymore.