why do i always end up spending more time debugging npm dependencies than actual code?