If possible deploy a medium project. You just deployed static code and also no routes (dynamic, static). application should have seo support for all pages. then only deploy.
I see that this deployment method is similar to the one used in NextJs 12 (with page routing). I understand that this works only with static sites. Can you upload an example of a deployment of a project with dynamic routes, interacting with a database? Would it be necessary to create a node.js app?
for dynamix routes, how to handle output: "export" in next.config if my routes are always dynamic. In this case, there is a solution using generateStaticParams but i amn't opting to use this.
Where is your server.js file when you are uploading to cpanel? Or Why you created the server.js file in local that has no work in cpanel? Actually you are deploying static export. Here the dynamic data will not work. If you have dynamic data or the data that are coming from api will not update real time. After deploying an app you have to start the server but you are not starting the server. You are only uploading the generated static files like html, css, js.
Hi Sir , Need a help from you regrading deployment of nextjs in a shared server in cpanel , As currently stuck by an issue when trying to run npm start This is issue i am getting, please help me out node:internal/deps/undici/undici:9235 return await WebAssembly.instantiate(mod, { ^ RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance at lazyllhttp (node:internal/deps/undici/undici:9235:32) Node.js v19.9.0
Thanks for static site deployment guide but I need help with dynamic server side rendered site with i18n to be deployed in cpanel.
same here bro
@@BittuKumar-p7n same here :(
Hi, i have the exact same problem, could you help me? my project is also with i18n
when i try to build my next js project it gives me an error like
> Server Actions are not supported with static export.
error when I created a dynamic page like [id]/page.jsx
Thanks for teaching in a very easy way, please give more videos like this❤
Thank you, I will
Thanks for your efforts, The video came to the rescue just in time.
Very Helpful. Eagerly was waiting for this.
Very helpful tutorial.. I have been looking for something like that for a while
need dynamic app deploy...?
If possible deploy a medium project. You just deployed static code and also no routes (dynamic, static). application should have seo support for all pages. then only deploy.
sure, i will...
Thank you for the video. May I know whats the different if we use software provided in cpanel "Setup node.js App", compare with this method?
Please, make a full tutorial about the Nextjs. We are so much excited to learn it from you.
Thanks for your interest. I will manage some time and make a crash course of next js soon.
Thanks for the video. Very efficient.
I see that this deployment method is similar to the one used in NextJs 12 (with page routing). I understand that this works only with static sites. Can you upload an example of a deployment of a project with dynamic routes, interacting with a database? Would it be necessary to create a node.js app?
Sure, I will come up with something like this. Keep watching...
how about to deploy next js app router but not static use the ssr and deploy using node js, did u can explain that?
Bro will that work Server side rendering. Or only static export?
greetings, thank you, the videos I found were about deployment with github and I was looking for how to deploy with the file system
what about stand alone full-stack application ?
great job , very much appreciated ,
What about if I make changes to my project, how can I make it reflect
for dynamix routes, how to handle output: "export" in next.config if my routes are always dynamic. In this case, there is a solution using generateStaticParams but i amn't opting to use this.
did generatestaticparams works for build ?
@@sreenathp-i9y it does
what is the diference between npm run build vs npm run build && npm run export ? please tell me
Thank you very much, your video helped me a lot!
That's my pleasure...
I am having trouble with routes like /api 404, worked in locals
Brother I am using dynamic routes and I need to deploy next.js 14 in vps server
Please help me , how can I run code with dynamic routes with vps hosting
is this work if my nextjs project using typescript
Thank you so much!
routing doesnt work for me ,i follwed your tutorial
SSR is possible after deploy on cpanel?
this misleading title : these steps only works for next js static site.
Will this pricess of production deploying support api routes?
can I use environment variables there?
i didn't get out folder please solve this issue
me too
Thanks. it works
Where is your server.js file when you are uploading to cpanel? Or Why you created the server.js file in local that has no work in cpanel?
Actually you are deploying static export. Here the dynamic data will not work. If you have dynamic data or the data that are coming from api will not update real time.
After deploying an app you have to start the server but you are not starting the server. You are only uploading the generated static files like html, css, js.
is there a way to upload next dynamic server app to cpanel?
I have also the same issue...? Have you configured it?
ikr blud is onto nothing 🤣🤣
I will share a video over this.
after running 'npm run build' I am not getting the out folder bro
me too
you need to cinfigure in next.config.js & if not then run npm run build && npm run export to get the out folder
Thanks
how to upload it with dynamic server components?
I will share another video for this. thanks
Helping
where are env?
Helpful ❤❤❤❤❤
❤❤❤
Hi Sir ,
Need a help from you regrading deployment of nextjs in a shared server in cpanel ,
As currently stuck by an issue when trying to run npm start
This is issue i am getting, please help me out
node:internal/deps/undici/undici:9235
return await WebAssembly.instantiate(mod, {
^
RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
at lazyllhttp (node:internal/deps/undici/undici:9235:32)
Node.js v19.9.0