Closed Nitzahon closed 3 years ago
easier to read:
[client] ReferenceError: regeneratorRuntime is not defined
[client] at G:\Repositories\Biomarkerz\biosurveyfs\client\node_modules\react-speech-recognition\lib\RecognitionManager.js:201:61
[client] at G:\Repositories\Biomarkerz\biosurveyfs\client\node_modules\react-speech-recognition\lib\RecognitionManager.js:272:6
[client] at Object.
Hi @Nitzahon Could you try the following:
npm i --save regenerator-runtime
_app.js
file: import 'regenerator-runtime/runtime'
If this works, I'll add this to the README as this seems to be a recurring problem for NextJS users.
Legen....
Wait for it.....
DARY!
Hi @Nitzahon Could you try the following:
npm i --save regenerator-runtime
- Put this at the top of your
_app.js
file:import 'regenerator-runtime/runtime'
If this works, I'll add this to the README as this seems to be a recurring problem for NextJS users.
Worked for gatsby as well. Thanks!
So the decision was made to move the site to nextjs to improve response time, and we've encountered the following error when trying to load a component that uses your package:
I'm hoping there is a simple fix for this. This package is fantastic and I loathe the thought of changing the implementation