I am trying to deploy a website on vercel from my command line of VSCode by using the command: When I execute this command, I get this output: If I run: I get the output as follow: Now, just to say that I tried solving the warnings, I ran: to install the latest uuid version, so that I can bypass
Tag: vercel
Vercel CLI issue with localhost
I have installed Vercel CLI to test a serverless function locally. The repository is this: https://github.com/LuigiImVector/github-badge/tree/eda8e1954fc81d69142c461b89f32e9f7635f6f2 With vercel dev I started the localhost server but there is a problem. The homepage (index.html) is loaded correctly but when I go to http://localhost:3000/api or http://localhost:3000/api/index.js an error appears. image-error The entire error message that appears in the console is this: In the
How can i upload file using formidable with nextjs on vercel
api/upload.js api/get.js Everything is working fine at localhost but it’s not working when i deploy it on vercel. Function log from vercel dashboard Answer if it works on localhost, it’s because the application mode on localhost is dev, and if in vercel the application mode is production so it only relies on the .next folder. if you really want to
NextJS cannot recognize TypeScript files
I want to develop my website using TypeScript not a JS. So I followed NextJS’s official to install TS from scratch, but when I run npm run dev, 404 Error page greeting me. OK below is my tsconfig.json Hmm, nothing seems to be wrong I think 🙁 And then next is package.json. Hmm, what’s wrong with my codes? When I