im trying to deploy a next app to a cpanel hosting. I've followed the instructions given in cpanels documentation almost to the letter
I'm able to get it running and working as intended if I run node under the root account and have registered the application. But as I understand it, it should be working simply by registering the application. After alot of trial an error, I suspect that the problem has to do with permissions somehow, since when I run the app with node under the user account
node app.js
I get:
info - Loaded env from /home/lajarase/next/.env
info - SWC minify release candidate enabled. https://nextjs.link/swcmin
But right after it exits the execution