Hello Everyone,
I installed NodeBB on my cyberpanel and it seems like I am getting some error upon performing any actions related to node e.g. node -v
This happened after following this guide: Deploy nodejs app doesn'nt work - #2 by josephgodwinke
Initial Guide Used for Installation: How to install NodeBB on CyberPanel
MyServer Info
Centos Version: 7
RAM: 8 GB
CORES: 6
LOG
node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)
node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by node)
@josephgodwinke Can you help with this?
This is what I get after trying to update glibc
[root@vps nodebb]# sudo yum update glibc
Loaded plugins: copr, fastestmirror, product-id, search-disabled-repos, subscription-manager, versionlock
This system is not registered with an entitlement server. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
* base: centos.mirror.digitalpacific.com.au
* epel: epel.mirror.digitalpacific.com.au
* extras: centos.mirror.digitalpacific.com.au
* updates: centos.mirror.digitalpacific.com.au
No packages marked for update
Update: I was able to resolve the issue by downgrading note to v14.21.3
But I am still having issue with NodeBB (Warnings)
2024-04-30T16:38:06.307Z [4567/22317] - warn: Your version of Node.js is too outdated for NodeBB. Please update your version of Node.js.
2024-04-30T16:38:06.309Z [4567/22317] - warn: Recommended >=18, 14.21.3 provided
Starting NodeBB
"./nodebb stop" to stop the NodeBB server
"./nodebb log" to view server output
"./nodebb help" for more commands
Which version of NodeBB do you have installed ?
Currently due to upgrades where they incorporated native fetch in >v3.6 nodejs 18 is required.
Hello Jose,
I gave up at the end and terminate the project. Thanks for the reply appreciated.
Thanks