Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Next.js: Node.js middleware on Netlify? #3084

paulmckee started this conversation in General
Discussion options

With support for Node.js middleware now being stable in Next.js v15.5, I'm wondering when we might see support for that on Netlify?

At present, trying to deploy a Next.js project that uses Node.js middleware gives this error message:

Error: Node.js middleware is not yet supported.
Future @netlify/plugin-nextjs release will support node middleware with following limitations:
usage of C++ Addons (https://nodejs.org/api/addons.html) not supported (for example bcrypt npm module will not be supported, but bcryptjs will be supported),
usage of Filesystem (https://nodejs.org/api/fs.html) not supported.

Hopefully it's something that Netlify's architecture will be able to accommodate eventually!

Thanks,
Paul

You must be logged in to vote

Replies: 1 comment 2 replies

Comment options

Hi @paulmckee, thanks for reaching out.

Quite soon! We're working on it as we speak: #3018.

Would you be interested in taking it for a spin when it's ready?

You must be logged in to vote
2 replies
Comment options

Yes, please!

Comment options

pieh Sep 3, 2025
Maintainer

Hi @paulmckee

We released support for Node Middleware today - https://github.com/opennextjs/opennextjs-netlify/releases/tag/v5.13.0 , so if you are still interested in it - now it is ready to take it for a spin :)

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

AltStyle によって変換されたページ (->オリジナル) /