handle failures when installing deps