OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

A Node.js module is loaded ('url' at line 3) which is not supported in the Edge Runtime

  • Thread starter Thread starter RajvirNahar
  • Start date Start date
R

RajvirNahar

Guest
I'm getting this error A Node.js module is loaded ('url' at line 3) which is not supported in the Edge Runtime. I have a middleware.js file but it's empty. If it I remove it, the whole project crashes. Also, in localhost everything works fine but as soon as I try deployng on vercel (for the first time ever), I get this error and cannot deploy on vercel.

I tried deploying on vercel by Removing the middleware file, looked over my sendgrid, mailgun API code since ChatGPT said it could be the potential reason causing this error.

<p>I'm getting this error A Node.js module is loaded ('url' at line 3) which is not supported in the Edge Runtime. I have a middleware.js file but it's empty. If it I remove it, the whole project crashes. Also, in localhost everything works fine but as soon as I try deployng on vercel (for the first time ever), I get this error and cannot deploy on vercel.</p>
<p>I tried deploying on vercel by Removing the middleware file, looked over my sendgrid, mailgun API code since ChatGPT said it could be the potential reason causing this error.</p>
 

Latest posts

Top