Skip to content

ReferenceError: Request is not defined #47648

Discussion options

You must be logged in to vote

What version of Node.js have you got on your Vercel deployment? If it is 16.x, or less, then you should set it to 18.x, assuming that none of the packages you are ussing, require lower Node.js versions.

Basically, you should have the same Node.js version, locally and on Vercel.

Figuring out the Node version on Vercel: https://vercel.com/changelog/node-js-version-now-customizable-in-the-project-settings

Replies: 6 comments 18 replies

Comment options

You must be logged in to vote
8 replies
@matewilk
Comment options

@faical23
Comment options

@GabrielDelight
Comment options

@Louisk3
Comment options

@anyb1s
Comment options

Answer selected by AlexanderBachSchmidt
Comment options

You must be logged in to vote
1 reply
@sunkanmii
Comment options

Comment options

You must be logged in to vote
4 replies
@monkeyK1n9
Comment options

@GabrielDelight
Comment options

@pedrotomas50
Comment options

@jvmhonorato
Comment options

Comment options

You must be logged in to vote
4 replies
@muftisamiullah
Comment options

@ishaanbuildsthings
Comment options

@icyJoseph
Comment options

@RomneyDa
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@moonRider
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet