-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
what is react-autosize-textarea? #59728
Comments
The block-editor package has react as a peer dependency, and react-autosize-textarea requires it. Do you have react installed in your project? |
react-autosize-textarea requires react 16 and this library is already archived, gutenberg requires react 18, the installation doesn't work without -force install on npm |
It should work fine with react 18, as that's what gutenberg uses. That warning doesn't show when running |
I've experimented with removing It's a bummer that it's blocked by |
Description
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^0.14.0 || ^15.0.0 || ^16.0.0" from react-autosize-textarea@7.1.0
npm WARN node_modules/react-autosize-textarea
npm WARN react-autosize-textarea@"^7.1.0" from @wordpress/block-editor@12.21.0
Step-by-step reproduction instructions
npm install @wordpress/block-editor@latest --save
Screenshots, screen recording, code snippet
none
Environment info
latest
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: