Skip to content
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

TypeScript error "Could not find a declaration file for module" #174

Open
Miskamyasa opened this issue Sep 1, 2023 · 2 comments
Open

TypeScript error "Could not find a declaration file for module" #174

Miskamyasa opened this issue Sep 1, 2023 · 2 comments

Comments

@Miskamyasa
Copy link

Could not find a declaration file for module 'astro-i18next'. './node_modules/.pnpm/astro-i18next@1.0.0-beta.21_astro@3.0.5/node_modules/astro-i18next/dist/index.js' implicitly has an 'any' type.
There are types at './node_modules/astro-i18next/dist/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'astro-i18next' library may need to update its package.json or typings.ts(7016)

  • astro-i18next version: 1.0.0 (beta 21)
  • astro version: 3.0.5
  • OS: Mac Os Ventura
  • Code Editor: VS Code
@Miskamyasa
Copy link
Author

br1anchen added a commit to br1anchen/astro-i18next that referenced this issue Sep 18, 2023
br1anchen added a commit to br1anchen/astro-i18next that referenced this issue Sep 19, 2023
@bowencool
Copy link

Using the pnpm patch command for a temporary fix.

bowencool/blog@5298ae7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants