在引入taro-ui的时候 报Uncaught (in promise) TypeError: Super expression must either be null or a function 错误

小菜鸡第一次摸taro
已经cnpm install taro-ui后
在app.jsx 下 引入 import 'taro-ui/dist/style/index.scss'
在menu.jsx 下引入 import { AtTabBar } from 'taro-ui'
报错

inherits.js?258f:4 Uncaught (in promise) TypeError: Super expression must either be null or a function
    at _inherits (inherits.js?258f:4)
    at eval (component.js?a43f:15)
    at eval (component.js?a43f:15)
    at Module../node_modules/_taro-ui@2.3.4@taro-ui/dist/h5/common/component.js (0.js:687)
    at __webpack_require__ (app.js:64)
    at eval (index.js:16)
    at Module../node_modules/_taro-ui@2.3.4@taro-ui/dist/h5/components/action-sheet/index.js (0.js:771)
    at __webpack_require__ (app.js:64)
    at eval (index.js?82d2:1)
    at Module../node_modules/_taro-ui@2.3.4@taro-ui/dist/h5/index.js (0.js:1490)

请问该怎么解决

默认安装的taro-ui的版本,不兼容taro3
npm install taro-ui@3.0.0-alpha.3