-
internal/modules/cjs/loader.js:1144 Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/lunechai/nodevenv/welcomeimagebot/14/lib/node_modules/canvas/build/Release/canvas.node) So this is the error. It works fine on my vscode.
I don't know what is the error. The node js that i'm using is 14.18 and it is the same on the platform that i want to deply. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey there. You seem to be on Linux. But anyways, do you have the newest version of GCC installed? FYI Canvas needs a C++ compiler since it's a native Node addon. If you don't have GCC, just install it, e.g. |
Beta Was this translation helpful? Give feedback.
Hey there.
You seem to be on Linux. But anyways, do you have the newest version of GCC installed? FYI Canvas needs a C++ compiler since it's a native Node addon. If you don't have GCC, just install it, e.g.
sudo apt-get install build-essential gcc
. Referencinghttps://github.com/FoldingAtHome/fah-issues/issues/1147#issuecomment-134731211
here, you need GCC v5.1.0/libstdc++.so.6.0.21 to use the ABI version the binary is asking for.