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

Doesn't work with React ^18.2.0 #333

Open
2 tasks
DewangS opened this issue Mar 3, 2023 · 7 comments
Open
2 tasks

Doesn't work with React ^18.2.0 #333

DewangS opened this issue Mar 3, 2023 · 7 comments

Comments

@DewangS
Copy link

DewangS commented Mar 3, 2023

Checklist

Description

Im using React 18.2.0 and unable to install this package due to conflicting dependencies

npm install mui-rte
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: thank-you-cards-new@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR! peer react@"^17.0.0 || ^18.0.0" from @mui/icons-material@5.11.11

npm ERR! node_modules/@mui/icons-material
npm ERR! @mui/icons-material@"^5.10.6" from the root project
npm ERR! peer @mui/icons-material@"^5.0.0" from mui-rte@2.0.1

npm ERR! node_modules/mui-rte
npm ERR! mui-rte@"" from the root project
npm ERR! 4 more (@mui/material, @emotion/react, @emotion/styled, react-dom)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.0" from @mui/styles@5.11.11
npm ERR! node_modules/@mui/styles
npm ERR! peer @mui/styles@"^5.0.0" from mui-rte@2.0.1
npm ERR! node_modules/mui-rte

npm ERR! mui-rte@"
" from the root project

@EugeneNikulnikov
Copy link

@DewangS What node version do you use?

@DewangS
Copy link
Author

DewangS commented Mar 17, 2023

@EugeneNikulnikov
node v16.14.2

@DewangS
Copy link
Author

DewangS commented Mar 17, 2023

@EugeneNikulnikov

Later I gave up pretty much on various NPM packages e.g. slate etc and just wrote my own little editor as I only needed entire text within multiline text to be Bold, Italic or underlined. I also needed user option to choose text color and font size.

@navinkprasad
Copy link

facing similar issue

@JKQuah
Copy link

JKQuah commented Aug 2, 2023

Any other similar alternatives?

@andrewpeterson99
Copy link

Also having this issue. Other libraries I've found are also out of date.

@razked
Copy link

razked commented Nov 5, 2023

As a temporary solution you can do:
npm install mui-rte --save --legacy-peer-deps

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

6 participants