nodeMiddleware experimental feature #82920
-
SummaryI upgraded from NextJS 14 to 15 in hopes of enabling the feature to run middleware in nodejs. I'm not deploying to vercel so I don't think it should be a problem not use edge. This way I can have better support for logging libraries in my middleware. However, when I attempted to use it, it throws the following exception. [CanaryOnlyError: The experimental feature "experimental.nodeMiddleware" can only be enabled when using the latest canary version of Next.js.] I don't want to run the Canary version. I want to run the latest official version. Does anyone know when this will become a non-experimental feature. Is there any override to allow it to run in a non-canary version. Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi, in 15.5 this is stable now :) |
Beta Was this translation helpful? Give feedback.
Hi, in 15.5 this is stable now :)
https://nextjs.org/blog/next-15-5#nodejs-middleware-stable