react-speech-recognition-input icon indicating copy to clipboard operation
react-speech-recognition-input copied to clipboard

TypeError: SpeechToText is not a constructor

Open ghost opened this issue 7 years ago • 2 comments

I downloaded the module and ran it with node.js

The first issue i got was the "import" method for adding the module, i just switched it to require instead.

The next error i got was a type error, which is probably because of ES6 arrow functions... not sure could you help me to debug why your example code isn't working for me, or if ive downloaded it wrong or something? Thanks,

ghost avatar Jun 26 '18 00:06 ghost

oh... i put this in pull request instead of issues on accident 😂

ghost avatar Jun 26 '18 00:06 ghost

Can you please update the published npm package? I don't think the latest package on npm has been updated

sarimzafar avatar Aug 09 '18 18:08 sarimzafar