I encountered a libstdc++.so.6 error

Some of the error log URLs I’ve encountered are Netlify

Logs:

1:01:50 AM: error Error: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /opt/build/repo/node_modules/nodejs-jieba/build/Release/jieba.node)
    at Module._extensions..node (node:internal/modules/cjs/loader:1586:18)
    at Module.load (node:internal/modules/cjs/loader:1288:32)
    at Module._load (node:internal/modules/cjs/loader:1104:12)
    at Module.require (node:internal/modules/cjs/loader:1311:19)
    at require (node:internal/modules/helpers:179:18)
    at file:///opt/build/repo/node_modules/nodejs-jieba/dist/index.mjs:1:257
    at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
    at async loadUserConfig (file:///opt/build/repo/node_modules/@vuepress/cli/dist/index.js:77:18)
    at async CAC.<anonymous> (file:///opt/build/repo/node_modules/@vuepress/cli/dist/index.js:209:26)

What do I need to do?

The latest version that Netlify currently has is 3.4.28. I’ll file an issue for the devs to see if this can be updated, but if not, your best bet is to somehow switch to using a lower version.

Developers are facing the same unresolved issues where older versions cannot be used with the latest VuePress. Are there any other solutions?

Not sure, there’s none that I know of.

We’ve released Ubuntu Noble Numbat Build Image: New Ubuntu 24.04 Noble Numbat Build Image which should fix this issue. Tried with your repo and it appears to work on that.