You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using their source I was able to create a custom Novu serve() function and get this working, but it would be nice to have this out-of-the-box with Novu.
👀 Have you spent some time to check if this bug has been raised before?
📜 Description
Trying to build for production
👟 Reproduction steps
👍 Expected behavior
Build successfully
👎 Actual Behavior with Screenshots
Fails to compile
Novu version
Novu SaaS
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
After NextJS 15 the typing changed for Route Handlers. The second argument is now of type "RouteContext", which causes this error.
Inngest, another open source project with very similar structure to Novu, has resolved the issue for their product. The relevant source code from Inngest (and how they fixed the issue) can be found here: https://github.com/inngest/inngest-js/blob/main/packages/inngest/src/next.ts
Using their source I was able to create a custom Novu serve() function and get this working, but it would be nice to have this out-of-the-box with Novu.
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: