skip to Main Content

Mongodb occasional 500 error in production

I’m working on a nextjs project (https://recurwallet.vercel.app) and it connects to mongodb atlas. It works perfectly in localhost but in Vercel deployment occasionally I get this error with next auth. I don’t think the user session expired because sometimes I’ve…

VIEW QUESTION

Reactjs – Next js official tutorial – chapter 15 authentication – unwanted full page reload on successful login

I'm building a site based on this tutorial: https://nextjs.org/learn/dashboard-app/ At this section of the tutorial: https://nextjs.org/learn/dashboard-app/adding-authentication#protecting-your-routes-with-nextjs-middleware There is code that manages a login using next auth import type { NextAuthConfig } from 'next-auth'; export const authConfig = { pages: {…

VIEW QUESTION

Javascript – localhost refused to connect. While working with nextjs

npm run dev > [email protected] dev > next dev ▲ Next.js 14.2.3 - Local: http://localhost:3000 - Environments: .env.local ✓ Starting... [Error: UNKNOWN: unknown error, readlink 'C:UsersHOneDriveDesktopMERN-MajorProjectdoctor-appointment-booking-web-app.nextstaticchunksmain-app.js'] { errno: -4094, code: 'UNKNOWN', syscall: 'readlink', path: 'C:\Users\H\OneDrive\Desktop\MERN-MajorProject\doctor-appointment-booking-web-app\.next\static\chunks\main-app.js' } HOW do i solve…

VIEW QUESTION
Back To Top
Search