-
Notifications
You must be signed in to change notification settings - Fork 144
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
Not compatible with React ^17 #86
Comments
Should work with |
@abhishek0010 thank you! it worked for me |
can you tell where to add --force in the command npm i react-textfit |
i m getting the same problem |
@pberlia0202 here's what I did npm i react-textfit --force |
PS C:\Users\pberl\OneDrive\Desktop\my-calc> npm i react-textfit --force |
This os the problem I m gettinng after using npm i react-textfit --force |
also after using --force, localhost stops working |
Ok let's try again run the command |
PS C:\Users\pberl\OneDrive\Desktop\my-app> npm install react-textfit --save npm ERR! A complete log of this run can be found in: |
I just tried it out on my react application and it worked |
i was facing this same issue . After research i come to know that npm install react-textfit --save -force works and required module installed other wise you can try npm i react-textfit --save --legacy-peer-deps but my recommendation is npm install react-textfit --save -force. |
For me the problem is coming on deployment on vercel |
The problem I encountered was not in the app rather in deployement, but the problem was resolved after I downgraded my react version |
Tried this with react ^17.0.2 installed, but got the following error when trying to
npm i react-textfit
The text was updated successfully, but these errors were encountered: