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

3.2.11版本h5端打开报:Uncaught Error: Target container is not a DOM element. #9510

Closed
crixusshen opened this issue Jun 11, 2021 · 1 comment
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@crixusshen
Copy link

相关平台

H5

浏览器版本: chrome 91.0.4472.77
使用框架: React

复现步骤

3.2.10下的项目运行正常,今日更新到3.2.11报:Uncaught Error: Target container is not a DOM element.错误

期望结果

不应该报挂载DOM的错误

实际结果

一启动就报错:Uncaught Error: Target container is not a DOM element.

环境信息

Taro CLI 3.2.10 environment info:
    System:
      OS: macOS 10.15.7
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 14.4.0 - ~/.nvm/versions/node/v14.4.0/bin/node
      Yarn: 1.17.3 - ~/.yarn/bin/yarn
      npm: 6.14.5 - ~/.nvm/versions/node/v14.4.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.2.10 => 3.2.11 
      @tarojs/components: 3.2.10 => 3.2.11 
      @tarojs/mini-runner: 3.2.10 => 3.2.11 
      @tarojs/react: 3.2.10 => 3.2.11 
      @tarojs/runtime: 3.2.10 => 3.2.11 
      @tarojs/taro: 3.2.10 => 3.2.11 
      @tarojs/webpack-runner: 3.2.10 => 3.2.11 
      babel-preset-taro: 3.2.10 => 3.2.11 
      eslint-config-taro: 3.2.10 => 3.2.11 
      react: ^17.0.0 => 17.0.2 
      taro-ui: ^3.0.0-alpha.3 => 3.0.0-alpha.10 

image

@taro-bot2 taro-bot2 bot added F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Jun 11, 2021
@tilkofjin
Copy link

请问问题是如何解决的,遇到同样问题,Taro3.4.2版本

@ZakaryCode ZakaryCode moved this to Done in H5 Apr 10, 2023
@ZakaryCode ZakaryCode added this to H5 Apr 10, 2023
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
Archived in project
Development

No branches or pull requests

2 participants