taro icon indicating copy to clipboard operation
taro copied to clipboard

RN在1.3.0Beta2新项目运行后报错

Open YuanQuan opened this issue 7 years ago • 3 comments

ts项目,没有添加任何逻辑,编译运行后报错如下: image

  • 操作系统: mac
  • Taro 版本 1.3.0beta2
  • Node.js 版本 10.0+
  • 报错平台 ios

YuanQuan avatar May 15 '19 10:05 YuanQuan

欢迎提交 Issue~

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

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

Good luck and happy coding~

taro-bot avatar May 15 '19 10:05 taro-bot

CC @Pines-Cheng

taro-bot avatar May 16 '19 02:05 taro-bot

我后来用debugger模式发现根结在我的页面中的构造函数没有传递props参数导致,建议增加校验,或适配为空也可以 image 改动后 image

YuanQuan avatar May 16 '19 02:05 YuanQuan