ever since the recent outage happened with vercel, my application has been dysfunctional.
after redeploying it on vercel, it shows me this particular error while building the application -
and when i try to use the application which has already been deployed, most of my server components and the pages dont even work and they throw the following error -
Hi, @metaloozee!
Have you tried the possible fixes here?
my code works completely fine, even re-checked the possible fixes and it’s working fine too when i build it locally or in any other host.
im getting a 410 error while building the app on the vercel infrastructure, even researched about it online but couldn’t find any possible fix for it.
From the screenshots you’ve sent, the “410 Gone” status code means that requested resource is no longer available on the server. This could be related to the pages or API routes in your Next.js app…
When was your last successful deployment? Were there any changes?
my last successful deployment was a week ago, it was completely working fine but since the recent outage the app has just been dysfunctional and hence i tried to re-deploy the same deployment which eventually gave me the 410 error during the build.
i guess i found the underlying cause of this particular error - seems like it has nothing to do with vercel or nextjs but with the ytdl libraries.
seems like the ytdl libraries are not working properly on the vercel infrastructure - is there any particular reason behind it or have you guys prohibited some packages?
here are the two packages i am using
ytdl-core - npm (npmjs.com)
@distube/ytdl-core - npm (npmjs.com)