I am looking to host an express.js app on cPanel. After successfully installing node, nvm, and npm, I managed to upload all the necessary files to the server and configure the .htaccess file. However, despite my efforts, cPanel's error logs are still showing an error.
I have tried various solutions like adding quotes to directory paths, but so far nothing has solved the issue.
Below is a snippet of my .htaccess file:
PassengerBaseURI /
PassengerAppRoot /home/evces1uld3jn/myapp
PassengerAppType node
PassengerStartupFile app.js