Backbencher.dev

SOLVED: ReferenceError: Request is not defined When Running Next.js

Last updated on 30 Jan, 2024

Your Next.js version is 14 and you are getting below error when running yarn dev.

ReferenceError: Request is not defined

Solution

Upgrade your Node.js version to 20+.

--- ○ ---
Joby Joseph
Web Architect