Replies: 15 comments 6 replies
|
I have the exact same problem. Someone, please. |
|
+1 |
|
Same here... |
|
SAME :( |
|
Same ... |
|
Same ... |
|
hello some news ? |
|
Are you using the terminal inside CPanel from your browser ? |
|
"Out of memory: wasm memory" : There is not enough resources to build the project. |
|
i think o2switch is not good hosting for nextJS , they use old technology |
|
This is not Next.Js based issue and i'm not even Next.js user, by the way i solved my problem hosting node app on O2switch, the terminal from cpanel is memory limited, you have to login there with SSH (white list your ip 1st), once you're logged use the 'source' cmd specified in node.js app panel of your project, and you could build your app from there https://faq.o2switch.fr/hebergement-mutualise/tutoriels-cpanel/app-nodejs |
|
For o2switch deployment, Packagesinstall package from ssh to bypass memory limits and webassembly: source /home/myaccount/nodevenv/app/myapplication/release/20/bin/activate
cd /home/myaccount/app/myapplication/release
npm installPrismafor prisma, change your schema binaryTargets with correct ssl version generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-1.0.x"]
previewFeatures = []
}generate prisma assets: npm exec prisma generateLogsin order to have production logs, update .htaccess with: All of this worked for me |
|
I'm currently struggling with deploying a Next.js application on o2switch. While all of my static pages are deployed and working perfectly, my dynamic routes are failing consistently. I can confirm that the backend is properly sending the requested data, but any dynamic ID page immediately returns a 500 Internal Server Error on the frontend. Here is an example of a failing route: http://sc1yefa3951.universe.wf/details/0ba9084e-d38d-4986-856e-ddb85acd8a26 Given the known complexities of running Next.js via Phusion Passenger on shared hosting, does anyone have an updated solution or .htaccess configuration to prevent dynamic routes from crashing with a 500 error? |
|
I'm considering hosting a Next.js project (frontend + API) with PostgreSQL on o2switch. I know it had some limitations with Node.js in the past. Has the experience improved recently? Is it stable enough for production, and would you recommend it over a VPS or other hosting providers? |
Uh oh!
There was an error while loading. Please reload this page.
Hello Team,
I am currently deploying a test app on my client's server based on 02Switch. Unfortunately it seems a bit complicated to deploy node apps with this host.
I managed successfully to get the ssh connection, I cloned the repo onto the server but when I try to build the app, I have this error coming up :
`error - Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vnzg2266/.npm/_logs/2021-12-01T10_53_56_837Z-debug.log`
Has someone got the same trouble, trying to build a node app onto a server? And if yes, could you help me :D ??
Thanks a lot for taking time reading it!
All reactions