vtk.js@21.1.2 error:regeneratorRuntime is not defined

Hello!I have a new problem. I updated the version of vtk.js from 17.0 to 21.1.2, but the statement vtkOpenGLRenderWindow. newnstance() reported an error during npm run dev, as shown in the figure below.
My Babel configuration is shown in the figure below.Is there any solution?

That issue is tracked here with probably a solution for your usage.

Easiest solution should be to install regenerator-runtime. We may need to add it as a peer or regular dependency…