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

is this module only support react@16.x? #23

Open
fxavierho123 opened this issue Sep 2, 2022 · 3 comments
Open

is this module only support react@16.x? #23

fxavierho123 opened this issue Sep 2, 2022 · 3 comments

Comments

@fxavierho123
Copy link

Getting this issue when trying to install.

Could not resolve dependency:
peer react@"16.x" from react-currency-formatter@1.1.0
node_modules/react-currency-formatter
  react-currency-formatter@"*" from the root project
@fxavierho123 fxavierho123 changed the title is this module only support react@16.x is this module only support react@16.x? Sep 2, 2022
@gysenlionel
Copy link

You can force like:

npm i react-currency-formatter --save --force

And if you use typescript force type too :

npm i --save-dev @types/react-currency-formatter --force

Works for me on Next.js 13

@Ganzorig2022
Copy link

You can force like:

npm i react-currency-formatter --save --force

And if you use typescript force type too :

npm i --save-dev @types/react-currency-formatter --force

Works for me on Next.js 13

worked for me too. Tnx man

@keshri95
Copy link

keshri95 commented Mar 5, 2023

As you have mentioned for typescript it not working would you check out this
While resolving: react-currency-formatter@1.1.0 23:47:47.961 | npm ERR! Found: react@18.2.0 23:47:47.962 | npm ERR! node_modules/react 23:47:47.962 | npm ERR! react@"18.2.0" from the root project 23:47:47.962 | npm ERR! peer react@">=16.8.0" from @dnd-kit/accessibility@3.0.1 peer react@"16.x" from react-currency-formatter@1.1.0 23:47:47.962

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

4 participants