-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: Cannot find module '@novu/framework/next' or its corresponding type declarations.ts #6332
Comments
Did you find any solutions? I have the same problem, but with @novu/framework/express |
@brunocamboim I've disabled the type checking for now...
|
dont know, if this is helpfull, but in our case this was related to using commonjs modules, so we used require as an workaround and it works with our setup of express. Maybe a comminjs build of the lib would be suiteable. |
@patbeqo which Next.js version are you using? Can you please send us a small reproduction? |
📜 Description
Cannot find module '@novu/framework/next' or its corresponding type declarations.ts
👟 Reproduction steps
import { serve } from "@novu/framework/next";
"@novu/framework": "2.0.0-canary.5"
👍 Expected behavior
Typescript support
👎 Actual Behavior with Screenshots
Unable to import from '@novu/framework/next'
Novu version
2.0.0-canary.5
npm version
10.5.0
node version
v18.20.1
📃 Provide any additional context for the Bug.
No response
👀 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?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: