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 'react-rating-stars-component/dist/react-stars'. #26

Open
iahmadhabibx opened this issue Oct 26, 2022 · 1 comment

Comments

@iahmadhabibx
Copy link

I have installed it using node version 16 but it shows that

Could not find a declaration file for module 'react-rating-stars-component/dist/react-stars'. Try npm i --save-dev @types/react-rating-stars-component if it exists or add a new declaration (.d.ts) file containing declare module 'react-rating-stars-component';

I tried doing it that way too but doing npm i --save-dev @types/react-rating-stars-component gives this error in CLI

npm ERR! 404 '@types/react-rating-stars-component@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

@njoromyke
Copy link

Any fix?

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