margox/braft-editor

2.3.9版本目前不支持React17 么

Emmeet opened this issue · 3 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".

页面会直接报错

重新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