This is not currently causing build failures because things are working fine on npm 3 (node 6), and the projects already switched to npm 6 (node 10) are only those not affected by this bug.
But, in trying out node10 on a number of projects, some of them consistently fail in this way.
Repos on which Node 10 / npm 6 fails (but Node 6 / npm 3 passes)
- node-rdkafka-statsd (change; build)
- labs/tools/heritage (change; build)
- pywikibot/i18n (change)
- performance/fresnel (when a node_modules dir exists).
- wikipeg (change, build)
+ rm -rf node_modules + npm install --no-progress ... npm ERR! code Z_DATA_ERROR npm ERR! errno -3 npm ERR! invalid distance too far back