Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
306 views
in Technique[技术] by (71.8m points)

用umi添加模板时,dependencies conflict between block and your project?

在antd pro项目中用umi新建模板时,就会报执行任务错误。

Execute task error Error: find dependencies conflict between block and your project:* @ant-design/compatible: 0.0.1-rc.0(your project) not compatible
with ^0.0.1-rc.0(block)
  • 1 我之前的项目依赖项:

image.png

  • 2 执行以下命令。
npm install @ant-design/compatible@^0.0.1-rc.0 --save

image.png

  • 3 重新用umi创建模板时,仍出现上述错误。

image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...