bberak / react-game-engine

A lightweight Game Engine for the web (React) 🕹⚡🎮
MIT License
413 stars 24 forks source link

ReferenceError: regeneratorRuntime is not defined #30

Open lucasdellabella opened 7 months ago

lucasdellabella commented 7 months ago

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!

1337micro commented 2 weeks ago

Have the same problem.