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

1.3.0-beta.4 Cannot read property 'compid' of undefined #3167

Closed
hao-li opened this issue May 24, 2019 · 3 comments
Closed

1.3.0-beta.4 Cannot read property 'compid' of undefined #3167

hao-li opened this issue May 24, 2019 · 3 comments
Assignees

Comments

@hao-li
Copy link

hao-li commented May 24, 2019

问题描述
支付宝小程序 Cannot read property 'compid' of undefined

复现步骤

  1. git clone [email protected]:hao-li/taro-problem-sample.git
  2. yarn
  3. yarn build:alipay
  4. 使用 Mini Program Studio(支付宝开发者工具)打开 dist/alipay 目录
  5. 使用 Mini Program Studio 模拟器查看小程序
  6. 点击『点击进入支付宝小程序问题页』按钮
  7. 点击页面右上角返回按钮

需要先解决前置的 #3135
如果尚未解决,则在项目根目录下执行下面命令以回避 #3135 的问题

cp node_modules/entities/maps/* dist/alipay/npm/entities/maps

期望行为
一切正常

报错信息
49081558668176_ pic_hd
49091558668193_ pic

系统信息

👽 Taro v1.3.0-beta.4


  Taro CLI 1.3.0-beta.4 environment info:
    System:
      OS: macOS 10.14.4
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 11.10.0 - /usr/local/bin/node
      Yarn: 1.15.2 - /usr/local/bin/yarn
      npm: 6.9.0 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 1.3.0-beta.4 => 1.3.0-beta.4
      @tarojs/plugin-babel: 1.3.0-beta.4 => 1.3.0-beta.4
      @tarojs/plugin-csso: 1.3.0-beta.4 => 1.3.0-beta.4
      @tarojs/plugin-sass: 1.3.0-beta.4 => 1.3.0-beta.4
      @tarojs/plugin-uglifyjs: 1.3.0-beta.4 => 1.3.0-beta.4
      @tarojs/router: 1.3.0-beta.4 => 1.3.0-beta.4
      @tarojs/taro: 1.3.0-beta.4 => 1.3.0-beta.4
      @tarojs/taro-alipay: 1.3.0-beta.4 => 1.3.0-beta.4
      @tarojs/taro-h5: 1.3.0-beta.4 => 1.3.0-beta.4
      @tarojs/taro-swan: 1.3.0-beta.4 => 1.3.0-beta.4
      @tarojs/taro-weapp: 1.3.0-beta.4 => 1.3.0-beta.4
      @tarojs/webpack-runner: 1.3.0-beta.4 => 1.3.0-beta.4
      eslint-config-taro: 1.3.0-beta.4 => 1.3.0-beta.4
      eslint-plugin-taro: 1.3.0-beta.4 => 1.3.0-beta.4
      nervjs: ^1.4.0-beta.4 => 1.4.0-beta.4

补充信息
1.3.0-beta.3 无此现象
微信小程序正常

@taro-bot
Copy link

taro-bot bot commented May 24, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@taro-bot
Copy link

taro-bot bot commented May 24, 2019

CC @Chen-jj

@dogrod
Copy link

dogrod commented May 27, 2019

1.3.0-beta5 出现相同问题,希望尽快解决

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

4 participants