compulim / web-speech-cognitive-services

Polyfill Web Speech API with Cognitive Services Bing Speech for both speech-to-text and text-to-speech service.
https://compulim.github.io/web-speech-cognitive-services
MIT License
62 stars 18 forks source link

Congnitive Speech service SDK not resolved. #107

Closed shobhitjdpsr closed 3 years ago

shobhitjdpsr commented 4 years ago

Hi

I am getting the following errors while using import createponyfil..... statement and trying to build my solution:- @compulim

Severity Code Description Project File Line Suppression State Error Can't resolve 'microsoft-cognitiveservices-speech-sdk/distrib/lib/microsoft.cognitiveservices.speech.sdk' in 'C:\Users\abc\source\repos\abc\source\Clients\abc\abcRoleUX\node_modules\web-speech-cognitive-services\lib\SpeechServices' WebRoleUX C:\Users\abc\source\repos\abc\source\Clients\def\abcRoleUX\Module not found

Any leads would be appreciated!

compulim commented 3 years ago

You must install microsoft-cognitiveservices-speech-sdk when you install this package. They are peer-depended. You probably missed the warning when you npm install this package.

We prefer peer dependency model so you can select any supported versions of microsoft-cognitiveservices-speech-sdk and not locked down to a single version.