Error Integrating Adnoisjs websocket Client API with angular7


I am trying to integrate webscoket client API in angular 7. I have run & installed all the commands mentioned in official documentation. Babel installed version is 7.0.1.
But when I run the code I get Uncaught ReferenceError: regeneratorRuntime is not defined.

This was working with Angular version 5.

Any help will be appreciable.


Read Adonis web socket client and vue js 3