Adonis web socket client and vue js 3


#1

im having a hard time using adonis web socket client in vue js… its giving me an error regenerator runtime and i dont seem to find a way around the error. can you pliz help im just a beginner. thanks in advance


#2

Read this https://github.com/babel/babel/issues/5085


Error Integrating Adnoisjs websocket Client API with angular7
regeneratorRuntime is not defined
#3

thanks sir


#4

finally i found the solution. i just added npm install --save @babel/polyfill and require it in the main.js file and its working now