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 build native-components --type h5 命令在windows上不生效,打包出来的什么都没打包进去 #14154

Open
ShaoGongBra opened this issue Jul 11, 2023 · 3 comments
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@ShaoGongBra
Copy link
Contributor

相关平台

H5

浏览器版本: 1
使用框架: React

复现步骤

只生成了一个文件,里见面只有一个导出,但是没有我写的组件的内容

期望结果

1

实际结果

2

环境信息

Taro CLI 3.6.7 environment info:
    System:
      OS: macOS 13.4
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 16.14.2 - /var/folders/5j/t9hd6v1d3s902h5xb3g1rmv40000gn/T/yarn--1689038670046-0.6043675471684642/node
      Yarn: 1.22.18 - /var/folders/5j/t9hd6v1d3s902h5xb3g1rmv40000gn/T/yarn--1689038670046-0.6043675471684642/yarn
      npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.7 => 3.6.7 
      @tarojs/components: 3.6.7 => 3.6.7 
      @tarojs/helper: 3.6.7 => 3.6.7 
      @tarojs/plugin-framework-react: 3.6.7 => 3.6.7 
      @tarojs/plugin-platform-alipay: 3.6.7 => 3.6.7 
      @tarojs/plugin-platform-h5: ^3.6.7 => 3.6.8 
      @tarojs/plugin-platform-jd: 3.6.7 => 3.6.7 
      @tarojs/plugin-platform-qq: 3.6.7 => 3.6.7 
      @tarojs/plugin-platform-swan: 3.6.7 => 3.6.7 
      @tarojs/plugin-platform-tt: 3.6.7 => 3.6.7 
      @tarojs/plugin-platform-weapp: 3.6.7 => 3.6.7 
      @tarojs/rn-runner: 3.6.7 => 3.6.7 
      @tarojs/runtime: 3.6.7 => 3.6.7 
      @tarojs/shared: 3.6.7 => 3.6.7 
      @tarojs/taro: 3.6.7 => 3.6.7 
      @tarojs/taro-rn: 3.6.7 => 3.6.7 
      @tarojs/webpack5-runner: 3.6.7 => 3.6.7 
      babel-preset-taro: 3.6.7 => 3.6.7 
      eslint-config-taro: 3.6.7 => 3.6.7 
      expo: ^48.0.19 => 48.0.19 
      react: ^18.2.0 => 18.2.0 
      react-native: ^0.71.11 => 0.71.11
@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Jul 11, 2023
@github-project-automation github-project-automation bot moved this to Padding in H5 Jul 11, 2023
@ShaoGongBra
Copy link
Contributor Author

没有人修复这个问题吗

@ZakaryCode ZakaryCode moved this from Padding to 框架 in H5 May 2, 2024
@ningshunqiang
Copy link

是否已解决,我也有相同的问题。执行 taro build native-components --type h5 之后有编译出dist 文件,但是无任何组件的内容

@ShaoGongBra
Copy link
Contributor Author

没有,我换mac编译

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Status: 框架
Development

No branches or pull requests

2 participants