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
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:
@andrii-bodnar I'm getting this exact same error, though my Nextra project, albeit small (I'm just writing a small tutorial for myself and documenting my process), needed to have authentication.
For this to happen, I quite literally used the same source code from nextra-docs-theme and put it under a theme directory and changed next.config.js so it uses this "custom" theme.
When I run pnpm run build, I have this exact error that @sarkaramitabh300 is having.
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 theme/README.md file, though they are just minor adjustments to how Tailwind is imported, so nothing biggie.
I think it may be an issue with pnpm workspaces but I would really appreciate your help here :D
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: