Closed maheshiv closed 6 months ago
It seem you have an too old libc (or you are not using glibc) try to upgread to at least glibc2.34. It should get backward compatible. Another option (less easy) is to build the prebuilt binary yourself so you will get the same glibc.
Thanks @Et7f3 for the suggestion. But I solved the issue by upgrading the npm version (npm i npm@latest -g
) using the first approach I mentioned on the question i.e., installed development package dependencies like python3, gcc-c++, make, and did not copied the installed modules from node:18.18.2 to SLES.
Environment details
Issue description
I am trying to install
node-pty
on SUSE/SLE15 but it is throwing below error.I am installing below packages
git-core=2.35.3 nodejs18 npm18 python3 gcc-c++ make
. Please guide me, if there is anything I need to do.I tried another approach to install
node-pty
onnode:18.18.2
image and then copy installed modules to SUSE/SLE15 image (which contains the node version 18.18.2) but it failed when running the node server. But this approach works if I use node version 16.20 on SUSE/SLE15.