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

Taro3.5.5版本,编译百度小程序提示Page未找到页面 #12480

Closed
zzq1101921989 opened this issue Sep 14, 2022 · 2 comments
Closed

Taro3.5.5版本,编译百度小程序提示Page未找到页面 #12480

zzq1101921989 opened this issue Sep 14, 2022 · 2 comments
Labels
F-react Framework - React T-swan Target - 编译到百度小程序 V-3 Version - 3.x

Comments

@zzq1101921989
Copy link

相关平台

百度小程序

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

复现步骤

通过Taro3.5.5,框架选择React,百度小程序的工具调试基础库选择3.540.7

期望结果

能够正常的渲染出index首页的内容

实际结果

实际上直接抛出错误
image

环境信息

  Taro CLI 3.5.5 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 14.17.6 - D:\nodejs\node.EXE
      Yarn: 1.22.19 - D:\nodejs\yarn.CMD
      npm: 6.14.15 - D:\nodejs\npm.CMD
@taro-bot2 taro-bot2 bot added F-react Framework - React T-swan Target - 编译到百度小程序 V-3 Version - 3.x labels Sep 14, 2022
@ZakaryCode
Copy link
Contributor

ZakaryCode commented Sep 15, 2022

临时修复参考配置如下:

    // ...
    prebundle: {
      swc: {
        jsc: {
          target: 'es5'
        }
      },
    },
    // ...

已经在 PR #12491 中修复,将在下一个版本释出

@wwyx778
Copy link

wwyx778 commented Nov 1, 2022

taro 3.3.9也有这个问题。有低版本的解决方案吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-swan Target - 编译到百度小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

3 participants