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

taro 2.2.18 build 后 运行报错 #10672

Open
ywanhzy opened this issue Nov 16, 2021 · 0 comments
Open

taro 2.2.18 build 后 运行报错 #10672

ywanhzy opened this issue Nov 16, 2021 · 0 comments
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x

Comments

@ywanhzy
Copy link

ywanhzy commented Nov 16, 2021

相关平台

微信小程序

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

复现步骤

taro 2.2.11 升至 2.2.18 微信小程序 build 后 运行报错 dev 是正常的 (taro2.2.11也是正常的 )
Error: Component is not found in path "npm/taro-ui/dist/weapp/components/activity-indicator/index" (using by "components/common/load-more")
Error: Component is not found in path "npm/taro-ui/dist/weapp/components/tabs/index" (using by "pages/order/index")

期望结果

运行正常

实际结果

报错

环境信息

  Taro CLI 3.3.1 environment info:
    System:
      OS: macOS 10.15.7
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 14.16.1 - /usr/local/bin/node
      Yarn: 1.22.10 - /usr/local/bin/yarn
      npm: 6.14.12 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: 2.2.18 => 2.2.18 
      @tarojs/components: 2.2.18 => 2.2.18 
      @tarojs/mini-runner: 2.2.18 => 2.2.18 
      @tarojs/router: 2.2.18 => 2.2.18 
      @tarojs/taro: 2.2.18 => 2.2.18 
      @tarojs/taro-h5: 2.2.18 => 2.2.18 
      @tarojs/webpack-runner: 2.2.18 => 2.2.18 
      eslint-config-taro: 2.2.18 => 2.2.18 
      eslint-plugin-taro: 2.2.18 => 2.2.18 
      nerv-devtools: ^1.5.6 => 1.5.6 
      nervjs: ^1.5.6 => 1.5.6 
      taro-ui: 2.3.4 => 2.3.4 
    npmGlobalPackages:
      typescript: 4.2.4
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x labels Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x
Projects
None yet
Development

No branches or pull requests

1 participant