In a limited environment where not every user has access, I would like to be able to use npm offline where possible.
My idea is to specify the global configuration in the shared cache directory, so that advanced users can install the settings, and the dependencies fall into the cache directory. Other users can then perform npm stand-alone installations for anything previously in the cache.
So, 2 questions:
Will this work? Failed to configure my own local npm repository, is there an easier way?
source share