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

Could not find a declaration file for module '@splidejs/react-splide' #84

Open
2 tasks done
raviverma2791747 opened this issue Dec 31, 2024 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working

Comments

@raviverma2791747
Copy link

Checks

Version

0.7.0

Description

Encountering this error when importing react splide module in NextJs 14
Could not find a declaration file for module '@splidejs/react-splide'. 'f:/lavange/lavange_ecommerce/lavange_ecommerce_client/node_modules/@splidejs/react-splide/dist/js/react-splide.esm.js' implicitly has an 'any' type. There are types at 'f:/lavange/lavange_ecommerce/lavange_ecommerce_client/node_modules/@splidejs/react-splide/dist/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@splidejs/react-splide' library may need to update its package.json or typings. @AllCategory.tsx:6:37

Reproduction Link

No response

Steps to Reproduce

  1. Initialize a new latest next project
  2. Install react-splide
  3. Import react-splide module
    ...

Expected Behaviour

The module should be imported without any errors. The type declaration should be automatically found.

@RackayPI
Copy link

RackayPI commented Jan 9, 2025

hey, we've same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants