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.
text-to-speech-js@1.1.7
updated 1 package in 3.094s
`
Then wrote following line in componentDidMount() but it is throwing an error:
TextToSpeech.talk("Hello Beautiful World!");
Uncaught ReferenceError: TextToSpeech is not defined
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