skip to Main Content

Reactjs – NextJS – ReferenceError: Request is not defined | Reading old version of Node [solved]

When I run npm run dev in my nextjs project I get the following error: .../node_modules/next/dist/server/web/spec-extension/request.js:28 class NextRequest extends Request { ^ ReferenceError: Request is not defined at Object.<anonymous> (.../node_modules/next/dist/server/web/spec-extension/request.js:28:27) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at…

VIEW QUESTION

Reactjs – Why hover not work after using padding top

I use padding top 120px. After using padding top hover not work properly. Why is this happening?Here is my code: 'use client'; // eslint-disable-next-line no-unused-vars import React, { useState } from 'react'; // eslint-disable-next-line no-unused-vars import {BsChevronCompactLeft , BsChevronCompactRight} from…

VIEW QUESTION

Javascript – "TypeError: Cannot read properties of undefined (reading 'foundTicket')" in my next.js app, Code seems to have no Problems

I'm new to next.js and making this project following an youtuber, here you can find my code: https://github.com/Fanguiee/ticketing-app/tree/edit-existing-item or you can also read below.Thanks in advance:) Screenshot: enter image description here Error in text: ⨯ appTicketPage[id]page.jsx (30:40) @ foundTicket ⨯…

VIEW QUESTION
Back To Top
Search