add preferGlobal to package.json