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

真机调试报错eval script evaluate_id #8 failed TypeError: Cannot read property 'setPageTypeById' of undefined #16561

Open
scorpioop opened this issue Sep 20, 2024 · 1 comment

Comments

@scorpioop
Copy link

相关平台

微信小程序

复现仓库

https://gitee.com/scorpioop/test1.git
小程序基础库: 3.5.8
使用框架: React

复现步骤

运行微信小程序并真机调试

期望结果

不报错

实际结果

eval script evaluate_id #8 failed TypeError: Cannot read property 'setPageTypeById' of undefined

环境信息

👽 Taro v4.0.5


  Taro CLI 4.0.5 environment info:
    System:
      OS: Windows 10 10.0.19045
    Binaries:
      Node: 18.20.3 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD  
      npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD   
    npmPackages:
      @tarojs/cli: 4.0.5 => 4.0.5 
      @tarojs/components: 4.0.5 => 4.0.5 
      @tarojs/helper: 4.0.5 => 4.0.5 
      @tarojs/plugin-framework-react: 4.0.5 => 4.0.5  
      @tarojs/plugin-html: 4.0.5 => 4.0.5 
      @tarojs/plugin-platform-alipay: 4.0.5 => 4.0.5  
      @tarojs/plugin-platform-h5: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-jd: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-qq: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-swan: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-tt: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-weapp: 4.0.5 => 4.0.5
      @tarojs/react: 4.0.5 => 4.0.5
      @tarojs/runtime: 4.0.5 => 4.0.5
      @tarojs/shared: 4.0.5 => 4.0.5
      @tarojs/taro: 4.0.5 => 4.0.5
      @tarojs/taro-loader: 4.0.5 => 4.0.5
      @tarojs/webpack5-runner: 4.0.5 => 4.0.5
      babel-preset-taro: 4.0.5 => 4.0.5
      eslint-config-taro: 4.0.5 => 4.0.5
      react: ^18.0.0 => 18.3.1

补充信息

真机调试2.0根本不行,真机调试1.0又会报错

@TheKonka
Copy link
Member

8fe539bc48a852c0de35fde1b5022fd
image
2.0 正常没有复现

This was referenced Sep 21, 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

2 participants