Skip to content

ReferenceError: regeneratorRuntime is not defined #30

@lucasdellabella

Description

@lucasdellabella

Hi @bberak we're encountering an issue that is blocking some of our machines. It seems to happen in all projects, regardless of build tool, pasted in the RGE example code from the docs and I see the error so long as I try to render the GameEngine component.

We've tried building our project both in a barebones vite / react project and nextjs project, and in both cases encountered the same error across multiple machines.

Here is a minimal reproduction of the error: https://github.com/lucasdellabella/rge-regenerator-runtime-reproduction

EDIT:

We've copied over all the code to a submodule in our app so that your code is built with our build tooling and there is no problem.

Still would be nice to get it fixed though!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions