Solutionunvalidated
Update the mongodb version and avoid using Mongoose in Next.js Edge Runtime; move the database access to a Node.js runtime
5dc8b578-401d-41ee-84f4-c8f5904f24ba
Update the mongodb version and avoid using Mongoose in Next.js Edge Runtime; move the database access to a Node.js runtime