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

支付宝小程序不能prerender #7111

Closed
fred8617 opened this issue Jul 20, 2020 · 5 comments · Fixed by #7150
Closed

支付宝小程序不能prerender #7111

fred8617 opened this issue Jul 20, 2020 · 5 comments · Fixed by #7150
Labels
F-react Framework - React P-1 High, patch T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x
Milestone

Comments

@fred8617
Copy link
Contributor

相关平台

支付宝小程序

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

复现步骤

启动

期望结果

正常

实际结果

报错

环境信息

� Taro v3.0.2


  Taro CLI 3.0.2 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 10.15.3 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.16.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
@taro-bot2 taro-bot2 bot added F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x labels Jul 20, 2020
@fred8617
Copy link
Contributor Author

image

@Chen-jj
Copy link
Contributor

Chen-jj commented Jul 20, 2020

提供一下 demo 吧

@fred8617
Copy link
Contributor Author

@fred8617
Copy link
Contributor Author

只要设置预渲染就会报错

@mishengqiang
Copy link

👽 Taro v3.0.15

Taro CLI 3.0.15 environment info:
System:
OS: macOS 10.15.7
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.11.0 - ~/.nvm/versions/node/v14.11.0/bin/node
Yarn: 1.22.10 - ~/.nvm/versions/node/v14.11.0/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.11.0/bin/npm
npmPackages:
@tarojs/cli: 3.0.15 => 3.0.15
@tarojs/components: 3.0.15 => 3.0.15
@tarojs/mini-runner: 3.0.15 => 3.0.15
@tarojs/react: 3.0.15 => 3.0.15
@tarojs/runtime: 3.0.15 => 3.0.15
@tarojs/taro: 3.0.15 => 3.0.15
@tarojs/webpack-runner: 3.0.15 => 3.0.15
babel-preset-taro: 3.0.15 => 3.0.15
eslint-config-taro: 3.0.15 => 3.0.15
react: ^16.10.0 => 16.14.0
taro-ui: ^3.0.0-alpha.3 => 3.0.0-alpha.3

百度小程序预渲染出错,但是微信小程序就可以成功。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React P-1 High, patch T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants