IonicaBizau / text-to-speech-js

:v: A small JavaScript library that provides a text to speech conversion using tts-api.com service.
http://ionicabizau.github.io/text-to-speech-js/
MIT License
69 stars 14 forks source link

Uncaught ReferenceError: TextToSpeech is not defined #12

Open rashmimhatre100 opened 7 years ago

rashmimhatre100 commented 7 years ago

Installed the npm package my cmd looks like below:-

`iassureit@iassureit-01:/var/meteor/spotyl$ meteor npm install --save text-to-speech-js npm WARN javascript-time-ago@0.4.9 requires a peer of intl-messageformat@^1.3.0 but none is installed. You must install peer dependencies yourself. npm WARN react-addons-update@0.14.8 requires a peer of react@^0.14.8 but none is installed. You must install peer dependencies yourself. npm WARN react-time-ago@0.3.7 requires a peer of intl-messageformat@^1.3.0 but none is installed. You must install peer dependencies yourself.

Then wrote following line in componentDidMount() but it is throwing an error: TextToSpeech.talk("Hello Beautiful World!");

Uncaught ReferenceError: TextToSpeech is not defined

arorasahil1234 commented 6 years ago

you were able to resolve this issue ??