next.jshostingplesknodejs-server

I can't start Next.js Application using Plesk. I get Error build module not found


I tried hosting my Next js app on Plesk, but after Following this Tutorial https://dev.to/optimbro/how-to-setup-nextjs-application-on-plesk-hosting-control-panel-linux-3d54 and trying a bunch of shit myself i either get nothing happening on start -> Page just keeps endlessly loading or i get the error "Cannot find module '../build/output/log'" when i use the last step of modifying the standard command from dev to start. up to This point the build works and everything


Solution

  • I took some time finding out what works and what does not work in plesk.

    What I've found out:

    I do not recommend the UI for anything other than starting the App. My steps for a successful launch are: