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-ui,最后yarn run dev:weapp,运行小程序插件,提示组件路径错误 #8226

Open
antbrothers opened this issue Dec 9, 2020 · 1 comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x

Comments

@antbrothers
Copy link

相关平台

微信小程序

复现仓库

https://github.com/antbrothers/taro-2.2.15-plugin-issue.git
小程序基础库: 2.14.1
使用框架: React

复现步骤

npm run dev:weapp npm run build:weapp

期望结果

[ miniprogram/miniprogram/plugin/pages/list/list.json 文件内容错误] miniprogram/miniprogram/plugin/pages/list/list.json: ["usingComponents"]["at-button"]: "../../../npm/taro-ui/dist/weapp/components/button/index" 未找到

实际结果

[ miniprogram/miniprogram/plugin/pages/list/list.json 文件内容错误] miniprogram/miniprogram/plugin/pages/list/list.json: ["usingComponents"]["at-button"]: "../../npm/taro-ui/dist/weapp/components/button/index" 未找到

环境信息

Taro v2.2.15


  Taro CLI 2.2.15 environment info:
    System:
      OS: macOS 10.14.5
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.16.3 - /usr/local/bin/node
      Yarn: 1.22.5 - /usr/local/bin/yarn
      npm: 6.14.9 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 2.2.15 => 2.2.15 
      @tarojs/components-qa: 2.2.15 => 2.2.15 
      @tarojs/mini-runner: 2.2.15 => 2.2.15 
      @tarojs/plugin-less: ^2.2.10 => 2.2.10 
      @tarojs/plugin-terser: 2.2.15 => 2.2.15 
      @tarojs/router: 2.2.15 => 2.2.15 
      @tarojs/taro: 2.2.15 => 2.2.15 
      @tarojs/taro-alipay: 2.2.15 => 2.2.15 
      @tarojs/taro-h5: 2.2.15 => 2.2.15 
      @tarojs/taro-qq: 2.2.15 => 2.2.15 
      @tarojs/taro-quickapp: 2.2.15 => 2.2.15 
      @tarojs/taro-swan: 2.2.15 => 2.2.15 
      @tarojs/taro-tt: 2.2.15 => 2.2.15 
      @tarojs/taro-weapp: 2.2.15 => 2.2.15 
      @tarojs/webpack-runner: 2.2.15 => 2.2.15 
      eslint-config-taro: 2.2.15 => 2.2.15 
      eslint-plugin-taro: 2.2.15 => 2.2.15 
      nerv-devtools: ^1.5.5 => 1.5.7 
      nervjs: ^1.5.5 => 1.5.7 
      taro-ui: ^2.3.4 => 2.3.4 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x labels Dec 9, 2020
@luckyadam
Copy link
Member

升级到 2.2.16

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

2 participants