Skip to content

Confused on how to solve Error: The edge runtime does not support Node.js 'crypto' module after adding middleware.ts #62985

Closed Answered by leerob
haocloo asked this question in Help
Discussion options

You must be logged in to vote

Good news everyone, Node.js Middleware support landed in Next.js 15.2 (experimental). This is now ready for testing. For any issues you run into, please open new issues so we can track and address before marking it as stable. Thank you!

https://nextjs.org/blog/next-15-2#nodejs-middleware-experimental

Replies: 11 comments 16 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

@Babailan
Comment options

@icyJoseph
Comment options

@lifeike
Comment options

Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Ealanisln
Comment options

@tconroy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@vpaflah
Comment options

@monteiz
Comment options

Comment options

You must be logged in to vote
2 replies
@fulcanelly
Comment options

@suchi-mayvenr
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@D50000
Comment options

@Cranbaerry
Comment options

@TechQuery
Comment options

@vpaflah
Comment options

@suryavirkapur
Comment options

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