Skip to Content
Feb 13, 2020 at 07:06 PM

regeneratorRuntime is not defined after deployment on SAP Cloud Platform


Hi community

My HTML5 App is working fine in the SAP Web IDE Full Stack if I run it as SAP Fiori Launchpad Sandbox.

But if I deploy the App on the SAP Cloud Platform I get the following error:

ReferenceError: regeneratorRuntime is not defined

I use Grunt and Babel for my build process and I am pretty sure it has to do with async/await but I can't wrap my head around why it is working as expected before the deployment.

Any advise on how to fix this issue?