Closed jgainfort closed 8 years ago
I, like some people who wrote previous issues, had problems trying to install packages offline using the suggested method.
Everytime I would try to npmubox the following error would appear:
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
What I found that fixes this problem was to clear my npm cache before boxing and unboxing the desired package.
So on online machine:
npm cache clean npmbox
Offline machine:
npm cache clean npmunbox
Instead of posting this in every question that is open maybe this could be added to the README?
Pull Request welcome.
@arei
Ok, I can have one tomorrow.
I, like some people who wrote previous issues, had problems trying to install packages offline using the suggested method.
Everytime I would try to npmubox the following error would appear:
{ [Error: getaddrinfo ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'getaddrinfo' }
What I found that fixes this problem was to clear my npm cache before boxing and unboxing the desired package.
So on online machine:
npm cache clean npmbox
Offline machine:
npm cache clean npmunbox
Instead of posting this in every question that is open maybe this could be added to the README?