web-speech-cognitive-services dependency is missing
See original GitHub issueWhen building with the latest 4.8.0 package the following error is produced:
ERROR in ./node_modules/botframework-webchat/lib/createCognitiveServicesBingSpeechPonyfillFactory.js
Module not found: Error: Can't resolve 'web-speech-cognitive-services/lib/BingSpeech' in 'C:\private\v4\BotBuilder-Samples\samples\javascript_es6\01.browser-echo\node_modules\botframework-webchat\lib'
@ ./node_modules/botframework-webchat/lib/createCognitiveServicesBingSpeechPonyfillFactory.js 26:41-96
@ ./node_modules/botframework-webchat/lib/index.js
@ ./src/app.ts
Attempting a work around by explicitly adding the web-speech-cognitive-services/6.0.0 package to the application fixes the build issue but now the runtime fails. This is just seen as a blank screen in the brower-echo sample.
(Note in the process of updating the sample now you have to also add react and react-dom as explicit dependencies - this is intentional as it allows the application to choose which version of react it wants to use.)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:13 (5 by maintainers)
Top Results From Across the Web
web-speech-cognitive-services
Polyfill Web Speech API with Cognitive Services Speech-to-Text service. Latest version: 7.1.3, last published: 24 days ago.
Read more >web-speech-cognitive-services - npm package
All security vulnerabilities belong to production dependencies of direct and ... Looks like web-speech-cognitive-services is missing a security policy.
Read more >Install the Speech SDK - Azure Cognitive Services
In this quickstart, you'll learn how to install the Speech SDK for your preferred programming language.
Read more >web-speech-cognitive-services v7.1.2 ❘ Bundlephobia
Ignoring the size of missing dependency p-defer-es5 .Read more. Bundle Size. 77. kB. Minified. 18.6. kB. Minified + Gzipped. Download Time. 371. ms....
Read more >How to run Microsoft.CognitiveServices.Speech on ...
Currently the SDK has a hard dependency on the Windows Media Foundation. ... CognitiveServices.Speech. ... 1 hour of my life was lost.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The team is working through how to get a fix out to address this. We are in a release lockdown due to current world events. but we’re working to see if we can get an exemption and get out a fix. we’ll post more data here as we gather it.
https://github.com/compulim/web-speech-cognitive-services/commit/d6224a4501286913a831f4edf17afd03c5c32699
Breaking changes
I downgraded to BotFramework-WebChat@4.6.0 for addressing this issue.
4.8.0 can’t be built now.