it used to say 404 not found , but now it outputs the whole source code . what should i do
@CodeSplitter4 күн бұрын
Make sure to follow those 3 steps mentioned in video.
@abdulhanan565613 күн бұрын
thanks bro, very helpful
@CodeSplitter13 күн бұрын
You're welcome brother
@MFahad-o2e4 күн бұрын
it throws error, i disable authentication from project setting , now its working
@CodeSplitter3 күн бұрын
Ok, as vercel is designed for static sites but still we can just use it for backend deployment (Testing and learning purposes)
@yogi401915 күн бұрын
i was missing the step where we change the package file ,, thanks a lot bro
@CodeSplitter14 күн бұрын
You're welcome brother
@chandangupta69706 ай бұрын
Thanks Bro after lots of effort i get the right way to deploy with your video
@CodeSplitter6 ай бұрын
You're welcome bro!
@Alihaidertesting5 ай бұрын
Thanks Man You Have Solved My Problem GOD Bless You
@CodeSplitter5 ай бұрын
You're welcome 🤗 Happy to hear 💜
@CodeSplitter5 ай бұрын
Amen and thanks
@rosarioscarlata4178Ай бұрын
Thank you bro! it helps me a lot 🙏🙏🙏
@CodeSplitterАй бұрын
You're welcome bro . Happy to hear 🌞
@tushuoye3 ай бұрын
bro i have made frontend and backend. i have deployed the backend on vercel and then I deployed my frontend on vercel I am getting cors error because each time Iadd the deployed links they gets changed with the new link . is there any way to connect with you
@CodeSplitter3 ай бұрын
Contact me via engrharis.uetm@gmail.com
@CodeSplitter3 ай бұрын
Go to your vercel dashboard and get the link from there and whenever you push Changes so use vercel --prod (double dash prod)
@rezkgmal2181Ай бұрын
Are you solved the problem ?
@junumon54722 күн бұрын
Bro, how to connect with mongodb with node js in deployment. I want to host express,mongodb
@CodeSplitter21 күн бұрын
Go to the cloud.mongodb.com and create free cluster there and you will get a mongoDb url so use that url in your project so you can access it from local and as well as from hosted place.
@CodeSplitter21 күн бұрын
If you are using offline (compass) so switch to cluster (cloud.mongodb.com)
@ULtraBoy4093 ай бұрын
hi I have this error WARN! You defined 1 build that did not match any source files (please ensure they are NOT defined in .vercelignore): - {"src":"./server.js","use":"@vercel/node"}
@CodeSplitter3 ай бұрын
The error indicates that the build configuration in the `vercel.json` file defines a source (`"src": "./server.js"`) that does not match any actual source files. It suggests ensuring that the file is not included in `.vercelignore`. To resolve this issue: 1. Check your file paths: Ensure that `server.js` exists in the root directory or the correct path as per your build configuration. If it's in a different directory, update the `src` path accordingly. 2. Check `.vercelignore`: Ensure that `server.js` is not being ignored by `.vercelignore`. If it is listed there, remove it. 3. Verify your `vercel.json`: Make sure the configuration in your `vercel.json` matches the actual file structure and paths. Example of a corrected `vercel.json`: ```json { "builds": [ { "src": "./server.js", "use": "@vercel/node" } ] } ```
@ULtraBoy4093 ай бұрын
@@CodeSplitter thank you, to be honest I didn't expect a response ai appreciate it, I just figured this out as well, ill subscribe to your channel
@PatriciaStover-o5f3 ай бұрын
what about the environment variables?
@CodeSplitter3 ай бұрын
You can add there as well in vercel but if you push it along so it work also.
@justlearn9736 ай бұрын
Really appreciate the explanation way
@CodeSplitter6 ай бұрын
Happy to hear that, thank you.
@venkatmanikantha99764 ай бұрын
If i change anything in the code how it will update in vercel
@CodeSplitter4 ай бұрын
You have to type "vercel --prod" every time when you push latest changes to vercel
@CodeSplitter4 ай бұрын
And it is told in video already. Kindly watch video again if you are still confused.
@sanjanasen23773 ай бұрын
When i typed vercel, I was asked some questions. One question was "Import from existing project?" and i clicked no by following your instruction. but i have the codebase in github and now is it possible for me to connect with the github repo and avoid vercel --prod to deploy the changes each and everytime?
@CodeSplitter3 ай бұрын
Yes but for that you have to connect with GitHub from vercel
@ishalinibalan30034 ай бұрын
Thank you. It helped so much.
@CodeSplitter4 ай бұрын
Happy to hear that! You're welcome.
@htooko995 ай бұрын
So helpful for me. Thank you so much
@CodeSplitter5 ай бұрын
You're Welcome dear. Happy to hear that.
@senazain4 ай бұрын
Do we have to upload the vercel.json file to git hubrepo
@CodeSplitter4 ай бұрын
Yes but it's directly deployment and has no connection with git.
@fazalhakim116 ай бұрын
I get the Error: The package `@vecel/node` is not published on the npm registry. Do you know why?
@CodeSplitter5 ай бұрын
Delete node modules and then try install again and see
@Somvang-t7n4 ай бұрын
it say "500: INTERNAL_SERVER_ERROR" how should i fix. Help me please.
@CodeSplitter4 ай бұрын
Code was running smoothly on localhost?
@CodeSplitter4 ай бұрын
If so, then follow the exactly 3 steps mentioned in video and you would be able to deploy correct
@Somvang-t7n4 ай бұрын
@@CodeSplitter yes
@amitvarotaria26836 ай бұрын
Getting 500 error of serverless function crashed
@CodeSplitter6 ай бұрын
Make sure you uploaded the correct vercel.json file
@CodeSplitter6 ай бұрын
And correctly followed that 3 steps
@amitvarotaria26836 ай бұрын
@@CodeSplitter already followed all steps still not working Currently i had successfully deployed same project in render
@CodeSplitter6 ай бұрын
@@amitvarotaria2683 then it shouldn't throw such an error. BTW good to done with render.
@jimsvolt4 ай бұрын
@@amitvarotaria2683 same case with me on vercel im getting server timeout error
@HQYT16 ай бұрын
i have no file sever.json in my node.js project
@HQYT16 ай бұрын
i am using tyepscript so which will be the file?
@CodeSplitter6 ай бұрын
Look for either server.ts, index.ts or app.ts ts / tsx
@alessandrv4 ай бұрын
Great video! Will my backend be always accessible at all time?
@CodeSplitter4 ай бұрын
Yes
@reactworld26725 ай бұрын
Nice One
@CodeSplitter5 ай бұрын
Thank you
@houseofdragons97646 ай бұрын
Thank you!
@CodeSplitter6 ай бұрын
You're welcome!
@senazain4 ай бұрын
I get 404 file not found error
@CodeSplitter4 ай бұрын
Make sure to follow those three steps mentioned in video.
@sandeepmishra57537 ай бұрын
Thank you.
@CodeSplitter6 ай бұрын
You're Welcome dear.
@ZabalaX6 ай бұрын
says "vercel" is not a command
@CodeSplitter6 ай бұрын
Make sure you installed vercel
@CodeSplitter6 ай бұрын
npm install -g vercel
@ZabalaX6 ай бұрын
@@CodeSplitter I already do that but keeps showing error
@CodeSplitter6 ай бұрын
@@ZabalaX make sure you are using CMD not PowerShell
@luisbustosmorales68974 ай бұрын
gracias
@CodeSplitter4 ай бұрын
Thank you!
@KazuhaSaya6 ай бұрын
Error: File /vercel/path1/node_modules/transformers/node_modules/uglify-js/tools/exports.js does not exist. can you help me. Whatever i do this error haunted me
@CodeSplitter6 ай бұрын
Make use that you are using latest dependences.
@CodeSplitter6 ай бұрын
I never got this error
@CodeSplitter6 ай бұрын
Try delete project from vercel and uninstall deps and then run npm install/ yarn add