Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taro3 头条小程序使用OpenData报错 #10748

Closed
jamesopppp opened this issue Nov 26, 2021 · 4 comments · Fixed by #13010
Closed

Taro3 头条小程序使用OpenData报错 #10748

jamesopppp opened this issue Nov 26, 2021 · 4 comments · Fixed by #13010
Labels
F-react Framework - React T-tt Target - 编译到字节跳动小程序 V-3 Version - 3.x
Milestone

Comments

@jamesopppp
Copy link

相关平台

字节跳动小程序

小程序基础库: 2.31.0.4
使用框架: React

复现步骤

头条开发者工具使用组件

期望结果

平台差异输出

实际结果

报错

环境信息

👽 Taro v3.3.14


  Taro CLI 3.3.14 environment info:
    System:
      OS: macOS 11.5.2
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 15.3.0 - ~/.nvm/versions/node/v15.3.0/bin/node
      Yarn: 1.19.1 - /usr/local/bin/yarn
      npm: 7.0.14 - ~/.nvm/versions/node/v15.3.0/bin/npm
    npmPackages:
      @tarojs/components: 3.3.14 => 3.3.14
      @tarojs/mini-runner: 3.3.14 => 3.3.14
      @tarojs/react: 3.3.14 => 3.3.14
      @tarojs/runtime: 3.3.14 => 3.3.14
      @tarojs/taro: 3.3.14 => 3.3.14
      @tarojs/webpack-runner: 3.3.14 => 3.3.14
      babel-preset-taro: 3.3.14 => 3.3.14
      eslint-config-taro: 3.3.14 => 3.3.14
      react: ^17.0.0 => 17.0.2
      taro-ui: ^3.0.0-alpha.10 => 3.0.0-alpha.10
@taro-bot2 taro-bot2 bot added F-react Framework - React T-tt Target - 编译到字节跳动小程序 V-3 Version - 3.x labels Nov 26, 2021
@miduoN
Copy link

miduoN commented Dec 3, 2021

我支付宝也是, 没用到OpenData 这个组件, 却警告提示"export 'OpenData' was not found in '@tarojs/components'

@brady2037
Copy link

+1 打包钉钉小程序也是提示

@bj-houzhenyu
Copy link

我支付宝也是, 没用到OpenData 这个组件, 却警告提示"export 'OpenData' was not found in '@tarojs/components'

那是因为taro-ui/dist/index.esm.js 第二行引入了,但是在@tarojs/components并没有导出,他们也不修复,就是摆烂呗

@Chen-jj Chen-jj mentioned this issue Dec 22, 2022
17 tasks
@Chen-jj Chen-jj added this to the 3.5.11 milestone Dec 22, 2022
@LYLSir
Copy link

LYLSir commented Apr 12, 2023

我支持宝也是,没有使用到 OpenData 这个组件,却警告提示“export 'OpenData' was not found in '@tarojs/components'

后来解决了么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-tt Target - 编译到字节跳动小程序 V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants