Taro: 将原有项目转字节跳动小程序,运行报错:Uncaught ReferenceError: regeneratorRuntime is not defined

Created on 12 Mar 2019  ·  8Comments  ·  Source: NervJS/taro

问题描述
我将原有的taro项目转字节跳动小程序,编译后运行报:Uncaught ReferenceError: regeneratorRuntime is not defined

复现步骤
编译完成后运行就报错

期望行为
正常运行

报错信息

Uncaught ReferenceError: regeneratorRuntime is not defined

系统信息

  • 操作系统: [macOS 10.14.3]
  • Taro 版本 [v.1.2.17]
  • Node.js 版本 [v10.0.0]
  • 报错平台 [tt]
question

Most helpful comment

All 8 comments

欢迎提交 Issue~

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

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

Good luck and happy coding~

我遇到了同样的问题,请问你们是如何解决的?

@zhy8023 楼上已经贴了文档

Hello~

您的问题楼上已经有了确切的回答,如果没有更多的问题这个 issue 将在 15 天后被自动关闭。

如果您在这 15 天中更新更多信息自动关闭的流程会自动取消,如有其他问题也可以发起新的 Issue。

Good luck and happy coding~

我遇到的不一样
image
已经按照上面的链接
image
image
请问怎么解决

@zhy8023 楼上已经贴了文档

我解决啦,我的问题运行报错Uncaught ReferenceError: regeneratorRuntime is not defined是因为没有配置project.tt.json导致

project.tt.json
如何配置啊

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aiewing picture aiewing  ·  3Comments

fxy5869571 picture fxy5869571  ·  3Comments

Zchary-Ma picture Zchary-Ma  ·  3Comments

qilovehua picture qilovehua  ·  3Comments

GreatAuk picture GreatAuk  ·  3Comments