question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

web-speech-cognitive-services dependency is missing

See original GitHub issue

When 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:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
sgellockcommented, Mar 27, 2020

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.

2reactions
yxc2010commented, Mar 27, 2020

https://github.com/compulim/web-speech-cognitive-services/commit/d6224a4501286913a831f4edf17afd03c5c32699

Breaking changes

  • As Bing Speech has deprecated and removed from Azure. Bing Speech support has been removed.

I downgraded to BotFramework-WebChat@4.6.0 for addressing this issue.

4.8.0 can’t be built now.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found