npm uses local cache to avoid locks

When multiple modules get compiled, npm may fail do to lock in the cache with the following error:
npm ERR! Error: EPERM, open