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

Hello,

I’m getting this error when using node v18 linux . (works on 16 and 14 and windows with version 18)

e[0K$ nvm install node
Downloading and installing node v18.0.0...
Downloading https://nodejs.org/dist/v18.0.0/node-v18.0.0-linux-x64.tar.xz...
Computing checksum with sha256sum
Checksums matched!
Now using node v18.0.0 (npm v)
travis_time:end:0cc244b0:start=1650457117026572710,finish=1650457121482625775,duration=4456053065,event=setup
e[0Ktravis_fold:end:nvm.install
e[0K
node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by node)
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
e[31;1mThe command "npm config set spin false" failed and exited with 1 during .e[0m

Your build has been stopped.
1 Like

I am also getting this issue for iOS and Android builds.

I think this is a problem caused by the stable version update, I tried to reduce the version of nodejs to solve this problem.

I’m having the same problem, I think because the stable version of node is v18. It changed the 19th of April: Node.js 18 is now available! | Node.js

I fixed it by changing my travis.yml and specifying to use version 17:

node_js:
  - 17

Hey there,

Please check recent v18.0.0 nightly builds require GLIBC_2.28 · Issue #42351 · nodejs/node · GitHub about the changes specifically node_js: 18.

Thanks