The command "npm config set spin false" failed and exited with 1 during

Hi,

It was easy to get past the “intentional” breakage for node users. Sometimes info on these technical issues is not that visible or helpful, so I’m gonna describe it:

I was using the latest, greatest Travis build environment:
dist: bionic
(at least it was great up until Mar 15, 2022). It is a Linux 18.04 image as people have mentioned, ref: recent v18.0.0 nightly builds require GLIBC_2.28 · Issue #42351 · nodejs/node · GitHub. There I saw the comment: 18.10 and 20.04 should work

All I had to do was upgrade the build environment (Linux image used by Travis) to:
dist: focal
(which is a Linux 20.04 at the moment).

No other changes to .travis.yml. And that’s future proof, it’s all good. Best luck to you.