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

taro4.x 编译后在小程序中运行错误 #17007

Open
xm-c opened this issue Dec 12, 2024 · 0 comments
Open

taro4.x 编译后在小程序中运行错误 #17007

xm-c opened this issue Dec 12, 2024 · 0 comments

Comments

@xm-c
Copy link

xm-c commented Dec 12, 2024

相关平台

微信小程序

复现仓库

https://github.com/xm-c/TaroApp.git
小程序基础库: 3.7.0
使用框架: React

复现步骤

1、安装 @taro/cli 4.x
2、创建项目 taro init project,使用 react、sass、typescript,模版使用 cli 内置的
3、执行 taro build --type weapp 命令生成小程序代码
4、打开小程序开发者工具,默认基础库版本 3.7.0,运行直接报错,不支持 refresher-two-level-enabled 等属性

期望结果

能够正常运行

实际结果

运行报错

环境信息

Taro CLI 4.0.8 environment info:
    System:
      OS: macOS 13.7.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.20.5 - ~/.nvm/versions/node/v18.20.5/bin/node
      Yarn: 1.22.4 - /usr/local/bin/yarn
      npm: 10.8.2 - ~/.nvm/versions/node/v18.20.5/bin/npm
    npmPackages:
      @tarojs/cli: 4.0.8 => 4.0.8
      @tarojs/components: 4.0.8 => 4.0.8
      @tarojs/helper: 4.0.8 => 4.0.8
      @tarojs/plugin-framework-react: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-alipay: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-h5: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-harmony-hybrid: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-jd: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-qq: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-swan: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-tt: 4.0.8 => 4.0.8
      @tarojs/plugin-platform-weapp: 4.0.8 => 4.0.8
      @tarojs/react: 4.0.8 => 4.0.8
      @tarojs/runtime: 4.0.8 => 4.0.8
      @tarojs/shared: 4.0.8 => 4.0.8
      @tarojs/taro: 4.0.8 => 4.0.8
      @tarojs/taro-loader: 4.0.8 => 4.0.8
      @tarojs/webpack5-runner: 4.0.8 => 4.0.8
      babel-preset-taro: 4.0.8 => 4.0.8
      eslint-config-taro: 4.0.8 => 4.0.8
      react: ^18.0.0 => 18.3.1
This was referenced Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant