0

im trying to deploy a next app to a cpanel hosting. I've followed the instructions given in cpanels documentation almost to the letter

https://docs.cpanel.net/knowledge-base/web-services/how-to-install-a-node.js-application/#register-the-application

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

Breezer
  • 101
  • 4
  • Questions involving web hosting control panels are off-topic because they customize their systems so that standard system administration methods no longer apply. Some related topics may be asked on Webmasters or see Where can I ask questions about web hosting control panels? – Davidw Oct 11 '22 at 23:14

0 Answers0