Replies: 12 comments 5 replies
-
I have the exact same problem. Someone, please. |
Beta Was this translation helpful? Give feedback.
-
Same here... |
Beta Was this translation helpful? Give feedback.
-
Same ... |
Beta Was this translation helpful? Give feedback.
-
Same ... |
Beta Was this translation helpful? Give feedback.
-
hello some news ? |
Beta Was this translation helpful? Give feedback.
-
Are you using the terminal inside CPanel from your browser ? |
Beta Was this translation helpful? Give feedback.
-
"Out of memory: wasm memory" : There is not enough resources to build the project. |
Beta Was this translation helpful? Give feedback.
-
i think o2switch is not good hosting for nextJS , they use old technology |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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 install Prismafor 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 generate Logsin order to have production logs, update .htaccess with:
All of this worked for me |
Beta Was this translation helpful? Give feedback.
-
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!
Beta Was this translation helpful? Give feedback.
All reactions