-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Could not find a declaration file for module 'nextra'. implicitly has an 'any' type #2948
Comments
What version of Nextra are you using? Please share more details about your setup or create a minimal reproducible example. |
@andrii-bodnar I'm getting this exact same error, though my For this to happen, I quite literally used the same source code from When I run You can find the PR of my project at dwyl/nextra-demo#2, so there's an example to check out, if you want. I made some modifications to the original theme, where I wrote inside the I think it may be an issue with |
Same issue here. :( |
Changing my tsconfig.json to have |
I am facing this typescript issue, which is creating problem while deploying on vercel.
Could not find a declaration file for module 'nextra'. '//nettools/node_modules/nextra/dist/index.js' implicitly has an 'any' type.
There are types at '//node_modules/nextra/dist/types.d.mts', but this result could not be resolved when respecting package.json "exports". The 'nextra' library may need to update its package.json or typings.
The text was updated successfully, but these errors were encountered: