Re:NPM proxy users receiving ERR 418 I'm a teapot
by acemarke on Tuesday May 29, 2018 @12:48PM
(#17180830)
That's why I really like Yarn's "offline mirror" feature. It lets you cache the tarballs themselves locally. There's also a tool called `shrinkpack` that lets you do the same when working with NPM itself, but I'm not sure if it works right with NPM5/6.
I wrote a post a while back about using Yarn's offline mirror: http://blog.isquaredsoftware.com/2017/07/practical-redux-par...