Skip to content

Lock Cognitive Services SDK to 1.9.1 #2979

@compulim

Description

@compulim

Screenshot

When using Cognitive Services SDK 1.10.0 with Web Chat NPM, we are seeing:

image

image

image

image

Version

master of now.

Describe the bug

When pairing Cognitive Services SDK 1.10.0 with Direct Line Speech SDK, it failed on this line:

class ConversationImpl extends Conversation {
  ...
}

The problem is Conversation is undefined, causing an error "super expression must either be null or a function".

Translate to human:

const Conversation = undefined; // or 123, 'abc', true, {}, []

class ConversationImpl extends Conversation {
   ...
}

Seems related to microsoft/cognitive-services-speech-sdk-js#155.

Steps to reproduce

  1. npm install botframework-directlinespeech on a NPM project
  2. Verify node_modules/microsoft-cognitiveservices-speech-sdk to be 1.9.1

Expected behavior

Direct Line Speech SDK should work with npm install. Instead, it bring down 1.10.0 which is not compatible with Direct Line Speech SDK.

Additional context

[Bug]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or an unintended behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions