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 --plugin weapp --watch 并没有用 #9485

Closed
hwwn opened this issue Jun 8, 2021 · 1 comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@hwwn
Copy link

hwwn commented Jun 8, 2021

相关平台

微信小程序

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

复现步骤

taro init 后 在项目根目录运行 taro build --plugin weapp --watch,命令行报:

👽 Taro v3.0.26

请传入正确的编译类型!

期望结果

能 build 成功

实际结果

build 失败

环境信息

👽 Taro v3.0.26


  Taro CLI 3.0.26 environment info:
    System:
      OS: macOS 11.4
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 15.3.0 - ~/.nvm/versions/node/v15.3.0/bin/node
      Yarn: 1.22.10 - /usr/local/bin/yarn
      npm: 7.11.1 - ~/.nvm/versions/node/v15.3.0/bin/npm
    npmPackages:
      @tarojs/components: 3.0.26 => 3.0.26 
      @tarojs/mini-runner: 3.0.26 => 3.0.26 
      @tarojs/react: 3.0.26 => 3.0.26 
      @tarojs/runtime: 3.0.26 => 3.0.26 
      @tarojs/taro: 3.0.26 => 3.0.26 
      @tarojs/webpack-runner: 3.0.26 => 3.0.26 
      babel-preset-taro: 3.0.26 => 3.0.26 
      eslint-config-taro: 3.0.26 => 3.0.26 
      react: ^16.10.0 => 16.14.0 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Jun 8, 2021
@luckyadam
Copy link
Member

版本太低了,升级到最新版本

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-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

2 participants