jd-opensource / jd-opensource/taro-ui
taro3.0版本无法使用taro-ui,引入使用报错!
- Dominant language
- TypeScript
- Stars
- 4.7k
- Forks
- 740
- PR merge metrics
- No merged PRs in 30d
Description
**问题描述**
按照官网文档安装了taro3.0版本,再引入使用taro-ui就会报错,安装步骤都是按照官网步骤操作。
我看到也有其他的小伙伴遇到此问题,**也有说是taro ui更新到最新版3.0.0-alpha.3版本,但是我把taro ui已经更到最新的"taro-ui": "3.0.0-alpha.3" 还是无法解决此问题**。
**复现步骤**
"dependencies": {
"@babel/runtime": "^7.7.7",
"@tarojs/components": "3.0.2",
"@tarojs/react": "3.0.2",
"@tarojs/runtime": "3.0.2",
"@tarojs/taro": "3.0.2",
"nervjs": "^1.5.7",
"react": "^16.10.0",
"react-dom": "^16.10.0",
"taro-ui": "3.0.0-alpha.3"
},

**期望行为**
期望官网能及时解决该问题,并给出好的解决方案。 出现问题前我是反复按照官网引导安装进行操作,但是出现此问题,无法解决。 请及时更新文档和给出对应的解决方案。非常感谢。
**报错信息**
TypeError: Super expression must either be null or a function
Errors while compiling. Reload prevented.

**系统信息**
Taro v3.0.2
Contributor guide
Assessment
This issue has not been assessed yet.