ensure that npm has dependencies installed globally