I have another server where I had previously installed Node.js using aaPanel. I compressed the Node.js directory located at /www/server/nodejs, transferred it to the new server using SCP, and extracted it there. Everything worked fine after extraction.