How my Next JS project will get effected if i move it from vercel to VPS (digitalOcean VPS)
Unanswered
Eyebrowed Thrush posted this in #help-forum
Eyebrowed ThrushOP
I am working on a Project regarding image generation using React-Konva which uses CANVA as lib.
The problem I facing everything is working on my Linux (my local machine). "pnpm build" everything works fine. As I move to vercel the problem starts.
It shows weird errors:
Error: /lib64/libz.so.1: version `ZLIB_1.2.9' not found
at Object.eP [as staticGenerationBailout] (/vercel/path0/node_modules/.pnpm/next@14.0.4_react-dom@18.2.0_react@18.2.0/node_modules/next/di
Although I found solutions for these errors if I config Linux VPS and deployed this Next js on it it's easy to avoid these errors on VPS as its working on my local machine.
How will this effect affect my project? What type of capabilities of the next js i will lose due to this?
Any kind of help is appreciated
The problem I facing everything is working on my Linux (my local machine). "pnpm build" everything works fine. As I move to vercel the problem starts.
It shows weird errors:
Error: /lib64/libz.so.1: version `ZLIB_1.2.9' not found
at Object.eP [as staticGenerationBailout] (/vercel/path0/node_modules/.pnpm/next@14.0.4_react-dom@18.2.0_react@18.2.0/node_modules/next/di
Although I found solutions for these errors if I config Linux VPS and deployed this Next js on it it's easy to avoid these errors on VPS as its working on my local machine.
How will this effect affect my project? What type of capabilities of the next js i will lose due to this?
Any kind of help is appreciated
2 Replies
it should be fine
have a look at this https://youtu.be/0rIak4Tc624?si=pztqxFIlUaJeaM36