react-game-engine icon indicating copy to clipboard operation
react-game-engine copied to clipboard

ReferenceError: regeneratorRuntime is not defined

Open lucasdellabella opened this issue 1 year ago • 5 comments

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!

lucasdellabella avatar Feb 27 '24 17:02 lucasdellabella

Have the same problem.

1337micro avatar Sep 06 '24 23:09 1337micro