Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM install may fail when using yarn or pnpm #4523

Closed
2 tasks
compulim opened this issue Nov 17, 2022 · 0 comments · Fixed by #4533
Closed
2 tasks

NPM install may fail when using yarn or pnpm #4523

compulim opened this issue Nov 17, 2022 · 0 comments · Fixed by #4533
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. external-cognitive-services

Comments

@compulim
Copy link
Contributor

compulim commented Nov 17, 2022

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.

@compulim compulim added bug Indicates an unexpected problem or an unintended behavior. Bot Services Required for internal Azure reporting. Do not delete. Do not change color. external-cognitive-services labels Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. external-cognitive-services
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant