Closed singh-anita closed 4 years ago
Hi @singh-anita ! The regenerator runtime is needed to run the compiled async/await
code in this library. I believe there are a couple of options to add this:
regenerator-runtime
into your app and then import it with import 'regenerator-runtime/runtime'
@babel/runtime
(see https://babeljs.io/docs/en/babel-plugin-transform-runtime)
Server Error ReferenceError: regeneratorRuntime is not defined for example: at /node_modules/react-speech-recognition/lib/RecognitionManager.js:168:61