travis-ci-npm-failed
最近在 run travis-ci 時,會出現 error,查了之後發現是 node v18 需要較新的 library 所以會出現 error
目前是先修改 .travis.yml
檔,設定為使用 node v.17 的版本來 build,而不是之前用的 stable 版本
- 出現的 error message
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: versionGLIBC_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)
The command “npm config set spin false” failed and exited with 1 during .
`