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
478 views
in Technique[技术] by (71.8m points)

在ant-design中,代码无法通过编译,错误为module not found 'reacty'

1.react以及react-dom已经全局安装
2.运行dva初始化的项目正常, 加入官方教程项目实战关于Product的代码后编译出错
3.错误截图如下
图片描述


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

1 Answer

0 votes
by (71.8m points)

我把react、react-dom依赖文件夹复制到C:Usersweidanode_modules后解决了该问题


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

...