老师,有一个dependency 冲突,这个怎么解决呀?
mockjira % npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: mockjira@0.1.0
npm ERR! Found: @craco/craco@6.1.2
npm ERR! node_modules/@craco/craco
npm ERR! @craco/craco@"^6.1.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @craco/craco@"^5.5.0" from craco-less@1.17.1
npm ERR! node_modules/craco-less
npm ERR! craco-less@"^1.17.1" 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.
解锁 React17 高阶用法,轻松应对大型复杂长周期项目
了解课程