For some reason, a few years ago somebody got the bright idea that installing globally was a good idea.  It became a &quot;best practice&quot; even though you can really run into problems with dependencies of dependencies.  It really is important <i>never</i> to install globally if you want to keep control of your dependencies.  It&#x27;s also  very important to always delete .node_modules every time you update your package.json file -- especially when deploying.  This is the only way you will be able to control what versions of things you have and to track down problems.  I like working with Node, but for things like this it still suffers from some immaturity.  &quot;It works for me&quot; syndrome is very common.