Hi i’m trying to setup a Svelte site on Cyberpanel however i’m having some issues getting this working?
i’ve followed the tutorial on how to setup a node application, i followed the steps in this guide here however i keep getting Error code 524? Site is not reachable at all
Error code 524 is cloudflare specific error. Kindly restart your server and try again.
Do you have any svelte related errors on your app? or any errors on the main log file for the website? or any error logs here https://<IP Address>:8090/serverlogs/errorLogs
Turned off cloudflare proxy for now so that error has disappeared, now i’m getting “This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase ‘Connection Timeout’.” which i belive is error code 500? My svelte app works perfectly fine on localhost and pm2 runs it fine with zero errors just trying to get it working on cyberpanel
It’s a Svelte app not express, and i’m currently using PM2 to run the app? But i get an error saying something else is already running on port 3000 so it stops immediately after running.
Here is me starting the app on port 3000 then checking the status and it says it errored also the error is shown on here too which says it errored cause something else is on port 3000
Since svelte app is similar to expressjs app when it comes to deployment you need to check if a simple expressjs app runs as expected. If it does then you need to deploy svelte the proper way. If it fails check your nodejs installation