Reactjs 安装craco less时出现依赖关系树错误

Reactjs 安装craco less时出现依赖关系树错误,reactjs,npm-install,Reactjs,Npm Install,我不熟悉React/Node.js,并使用React试用Ant框架 安装craco less[npm install craco less]时,我遇到以下错误: While resolving: mytestproject@0.1.0 Found: react-scripts@4.0.0 node_modules/react-scripts react-scripts@"4.0.0" from the root project peer react-scripts@&

我不熟悉React/Node.js,并使用React试用Ant框架

安装craco less[
npm install craco less
]时,我遇到以下错误:

While resolving: mytestproject@0.1.0
Found: react-scripts@4.0.0
node_modules/react-scripts
  react-scripts@"4.0.0" from the root project
  peer react-scripts@"*" from @craco/craco@5.8.0
  node_modules/@craco/craco
    @craco/craco@"^5.8.0" from the root project
    peer @craco/craco@"^5.5.0" from craco-less@1.17.0
    node_modules/craco-less
      craco-less@"*" from the root project

Could not resolve dependency:
peer react-scripts@"^3.3.0" from craco-less@1.17.0
node_modules/craco-less
  craco-less@"*" from the root project

我不知道该怎么办。有什么帮助吗?

你有没有想过?