Skip to content

NPM install may fail when using yarn or pnpm #4523

@compulim

Description

@compulim

Is it an issue related to Adaptive Cards?

  • Yes, this is an Adaptive Card issue but it is specific to Web Chat.

Do you have any screenshots?

image

What version of Web Chat are you using?

Latest production

Which distribution are you using Web Chat from?

NPM

Which hosting environment does this issue primarily affect?

Others or unrelated

Which browsers and platforms do the issue happened?

No response

Which area does this issue affect?

Others/unrelated

Is this an accessibility issue?

  • Yes, this is an accessibility issue.

Please describe the bug

microsoft-cognitiveservices-speech-sdk introduced a bug that break dependency installation when using:

  1. Non-NPM package manager, such as yarn or pnpm, and/or;
  2. a NPM registry which requires authentication

The issue is being tracked at microsoft/cognitive-services-speech-sdk-js#549.

Do you see any errors in console log?

No response

How to reproduce the issue?

  1. Use pnpm to install botframework-webchat

What is the expected and actual behavior?

Expected:
botframework-webchat should install properly under /node_modules/

Actual:
botframework-webchat failed to install while running preinstall script of microsoft-cognitiveservices-speech-sdk.

Adaptive Card JSON

No response

Additional context

Temporary workaround is to use last known good version of Web Chat 4.15.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.external-cognitive-services

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions