margox / braft-editor

美观易用的React富文本编辑器,基于draft-js开发

Home Page:https://braft.margox.cn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2.3.9版本目前不支持React17 么

Emmeet opened this issue · comments

warning "braft-editor > braft-convert@2.3.0" has incorrect peer dependency "react@^16.0.0".
warning "braft-editor > braft-finder@0.0.19" has incorrect peer dependency "react@^16.4.1".
warning "braft-editor > braft-finder@0.0.19" has incorrect peer dependency "react-dom@^16.4.1".
warning "braft-editor > draft-js@0.10.5" has incorrect peer dependency "react@^0.14.0 || ^15.0.0-rc || ^16.0.0-rc || ^16.0.0".
warning "braft-editor > draft-js@0.10.5" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0-rc || ^16.0.0-rc || ^16.0.0".
warning " > braft-editor@2.3.9" has incorrect peer dependency "react@^15.0.2|| ^16.0.0-rc || ^16.0.0".
warning " > braft-editor@2.3.9" has incorrect peer dependency "react-dom@^15.0.2|| ^16.0.0-rc || ^16.0.0".

页面会直接报错

commented

重新install一下

For anyone else hitting this issue, you can install the modules using this command:

npm install --legacy-peer-deps

For anyone else hitting this issue, you can install the modules using this command:

npm install --legacy-peer-deps

Thank You for the Reply