jetlinks/jetlinks-ui-antd

🧐[问题]npm install 报错

gogo1008 opened this issue · 1 comments

image

npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: jetlinks@2.0.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! react@"^17.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.0.2|| ^16.0.0-rc || ^16.0.0" from braft-editor@2.3.9
npm ERR! node_modules/braft-editor
npm ERR! braft-editor@"^2.3.9" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\clqzc\AppData\Local\npm-cache\eresolve-report.txt for a full report.

删除.lock文件,然后重装安装