How To Deploy a NextJS App To Vercel (EASY AND QUICK!!!)
Вставка
- Опубліковано 30 вер 2024
- In this video I will be showing how to deploy a NextJS App to Vercel.
Link: vercel.com/das...
Join our Discord: / discord
🚀 Learn ReactJS By Building 6 Projects: codedamn.com/l...
🐙 GraphQL Course: codedamn.com/l...
Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Website: machadopedro.com
Linkedin: / machadop1407
Instagram: / pedro.fmachado_
Github: github.com/mac...
Business Email: pedro@pedrotech.co
🌟 Gear / Hardware I Use and Recommend 🌟
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
💻 amzn.to/42kqFuM 💻 Monitor
🖱️amzn.to/3C0ZhHb 🖱️ Mouse
📷 amzn.to/3OHJvbM 📷 My Camera
🎤 amzn.to/3oxSthj 🎤 My Microphone
⌨️ amzn.to/3oFPpj1 ⌨️ My Microphone
⚡ amzn.to/3MYMnzM ⚡ LED Lights In the Background
Tags:
- ReactJS Tutorial
- ReactJS and MySQL
- NodeJS Tutorial
- API Tutorial
#nextjs #vercel
I love the fact that you included the use case of a bug in code/error to show how to deal with that.
That is insane how vercel f@cked whole community with RSC and everyone is okey with it.
Not only RSC slower and will lead to higher bill but also they made self hosting really hard
Thank you so much for this. It was extremely helpful.
I pray you come to the knowledge of truth and Christ. God bless you!
Bro what about the website is already deployed and you want to make changes?
Should I just do the following command:
◽git commit -m "fixed stuff"
◽git push
and the deployed website will be updated too?
@everyone
I found a solution:
Let's say you have already successfully deployed the application to Vercel through GitHub. After all the changes that you are satisfied in, open the terminal and prompt the below prompts:
◽git add .
◽git commit -m "updated"
◽git push origin main
This works for me and I hope it works for you too. Do you have any better or proper approach for this? Please, let me know.
Omg. I was gonna deploy my nextjs in a day or two. What a coincidence
You helped me soooo much already, thank you. Btw you didnt need to show the error example but you did it anyway. I just love you man🤣
Very helpful ! Appreciate your work always. 🙂
I think it would be great video if you share how you learn new stuff and whats your overall process of learning new technologies etc. Thanks
I have a question : When we fetch data in local machine we use localhost:3000/api, but how can we deploy it on the vercel. It will cause a lot of error, how can we fix that. error: Server is not responding
DId you find a solution to this ? I am having the same problem too, my pages are not being generated during build time on vercel
Amazing learning path for me...keep it up bro
Very helpful and straight to the point. Love it! 😉🔥
I’m getting Error 500: internal server error message when I deploy to vercel. I have like 8 environment variables like sanity, google auth, stripe, etc please help
Yes make a proper video how we can host a nextjs website live on internet with a proper domain.
I can include that in a course or something. But to add a domain you just have to buy and set it on vercel
@@PedroTechnologies yes please
Your name suggests you are Brazilian. But your fluency suggests otherwise.
Lol I am Brazilian :) I had the privilege of studying in a international school in Salvador, Bahia until I was 18.
@@PedroTechnologies Que daora mano!!!!!! Eu notei que seu nome era Brasileiro também, e o mais curioso é que vc tbm mora aqui em Vancouver!!! Que bacana encontrar vizinhos de nascença aqui na mesma cidade que eu!!
Abraços Pedro, espero um dia te encontrar em algum evento de programação aqui em vancouver.
Hello Pedro I've been following you for long time, thank you for your knowledge impact on us. I have a request on how to deploy Nextjs on Cpanel shared hosting for both frontend and backend + prisma . Please.
Hindi subtitle❤
What if i don't want to deploy from github? How to deploy react app using vercel cli? .
Application error: a client-side exception has occurred (see the browser console for more information). while deploying next js app on vercel I'm getting this error while deploying the next js app how to remove this error anyone
i got this error: "No Next.js version could be detected in your project. Make sure `"next"` is installed in "dependencies" or "devDependencies" "
Easy and quick, as my job journeys 😢😔
Thanks for this video, great. You are one of my favorite coding UA-camr. Is it possible to make a video about security? If you made an app, and there are some security issues with some package (for instance) that are used in that app, what to do to solve it? How to know if there are any security issues with packages for instance? Are there websites who publish such security issues?
Hi Pedro.. very helpful as always.
Which site would you pick for hosting a node js API for free ?
thanks in advance
i'm facing problem in interface of my nextjs website , when it is running in localhost it's coming properly but when i'm hosting it is coming differently it seems like css is not imported. pls help
Getting an error while doing "Command "npm run build" exited with 1"......please if someone can help.
What makes ls Vercel “not free”? Might need that next video to understand the custom URL 🎉
Thank you so much for the video Pedro!! Will you make a series on Nodejs when you have free times?
Sorrry again if i requested so many times 😅 but your way of teaching is very great and i haven't learn learn Nodejs.That's why.Thankk you for all of your efforts for teaching us a lot Pedro!
Can anyone help. How to view return data on teh website. I have created sort of servey and I am not seeing the return data anywhere?
Excelente vídeo Pedro parabéns 🎉
How old are you and how Did you learn all these stuff
I have the problem ,the data are being fetched on vercel, even if I call the next js api endpoint on postman. i can send the data but i can not fetch unless i rebuild the app
what if i already have a deployment and want to update the website? will i have to deply again and get a new link or is there some other process
Thanks for sharing this. Hey Pedro, can you share the name of that extension of auto-suggest yarn/npm at your terminal shell?
does it have a backend and database connected to it? or its just a frontend stuff? ty
my module.css file is not reading hence styles are not applied
Would have been even more helpful without yout head out of the way
can we deploy the next project without github means i want to manually deploy it on vercel.
thank you for showing the error , i just got an error while building and you saved me a lot!
please how do i deploy my wordpress website to vercel app and post links on facebook ?
Thank you very much, this was a very quick and concise video, very helpful and straight to the point. Thank you!
Hi @Pedro how can we change the branch for deployment? Suppose I want to deploy my development branch instead main branch.
Off topic comment - Your hair is cool right now. It remind me Gustavo Kuerten's hair style, a 2000's Brazilian tennis player.
i get this error ;(
Warning: Could not identify Next.js version, ensure it is defined as a project dependency.
Error: No Next.js version could be detected in your project. Make sure `"next"` is installed in "dependencies" or "devDependencies"
I have a quick question. What if I don't want my site to be publicly accessible? I.E I want to keep it a private repo on github? Is there a way to do this or no?
I have two brunches developement for staging and production for production. How do I choose them please reply
Woow🎉🎉
Skipping the env variables was a mistake. If we don't know how to put them in properly, some features won't work, like auth etc.
Hello sir, my nextjs has been deployed to Vercel, but I cannot open images in Romania, and my location in China or Singapore can open them. Is there any way to set the region?
when i access that url from the postman it gives me authentication required even though i used authorization key also still can't access , plz give me the solution
Instead of using external api url jsonplacelholder like you did, How to configure internal api call url before deploying
The video was helpful what about connect next js to MySQL database how will I go around that or please can you make a tutorial on that please thanks
Thanks! I love you pedro
Good Evening Pedro Tech,try to give an idea about ,how can we change branch in production with clear example
Where is it deploying do we have to manually specify a server etc and do we have to write the script for deployment or it creates the script on its own according to the application?
helpful vedio thanks.....bro
The "any" solution was perfect for me!!! Thank you very much!!!
thanks man really helped me❤❤
da mas problemas que netlify...
it giving me error in reactservercomponents and its not deploying
Ola Pedro and thank you for your videos! when I try to deploy it goes out of memory because of too many static pages to generate.. you have some suggestion to fix this issue?
Hey, how will connect it with our django backend. What will be the process for that?
i cant sign up new account on Vercel
the project has been deployed but the images didn't appear and i don't know why
Too many ads, i this video
Is there a way to know if there are mistakes in our typescript code without having open the file?And without executing the build.
Because i use Flutter and there even if you close the file, vscode always is warning you if you have errors, but i would like to have the same in typescript
when i done deploy it, why does it show the get started page, not the one that i made before?
WE LUV BOBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
this was a really easy video to follow along. thank you !
Is there any way to deploy a selected/not default branch?
Welcome back ❤
I thought you'll use the cli
Very Quick Help🤩
amaaaaaaaaaaaaaaaaaaaazing video i have no words
Thanks dude! Feels like you saved my life, even if it was so easy. Not knowing is the worst thing!
Thank you for the video, by the way.
thank youuuuuuuuuuuuuu
Nice step by step explained
Thank you so much 🙂
I have a problem my app contains a lot of images it's still static but I can't use a cdn it's too late so how can I push 2.16 gb to github
delete it
what about baseurl you did not show it how
Awesome video. Thank you
I like this. I dont't know why I always come back to watching your videos though. Something about your presentation is just 👌. Your videos are informative too on the current state of JS techologies too and tips and tricks that make the DX better. Love your latest ' NEXTJS for beginners ' vieo by the way. Its amazing. Stay strong broh
really helpful
Thank you so much brother!
Thank You
This was awesome! Thank you!!
Wow i enjoyed thanks myaan🚀🚀
ThankYou
helpful
Thanks
Great vid brother
🔥🔥
Very helpful Pedro, thanks a lot!
Awesome tutorial! Nice and easy
thank you for sharing
u look better without facial hairs!
Who cares
great video!
simple and easy
in firebase
GoodJob!
Not helpful. Vercel is throwing random rrError: No Next.js version could be detected in your project. Make sure `"next"` is installed in "dependencies" or "devDependencies"
Are you sure you are trying to deploy a nextjs project?
Imparsive 🤍🤍