8000 Samples not working · Issue #5454 · microsoft/BotFramework-WebChat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Samples not working #5454
Open
Open
@vladimirlapacek

Description

@vladimirlapacek

Is it an issue related to Adaptive Cards?

No

Is this an accessibility issue?

No

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?

Web apps

Which browsers and platforms do the issue happened?

No response

Which area does this issue affect?

Development experience

Which theme pack does this issue affect?

Fluent UI

What is the public URL for the website?

https://microsoft.github.io/BotFramework-WebChat/04.api/e.piping-to-redux/

Please describe the bug

Some WebChat samples are currently broken. Please see the following incomplete list:

Do you see any errors in console log?

react-dom.production.min.js:188 Invariant Violation: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
    at mOt (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:60335)
    at jb (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:60605)
    at up (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:63895)
    at useState (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:65268)
    at Jtn (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:270:14147)
    at JV (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:6:17089)
    at sV (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:3175)
    at wve (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:2379)
    at zde (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:1910)
    at Jve (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:47929)
aV @ react-dom.production.min.js:188
react-dom.production.min.js:282 Uncaught Invariant Violation: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
    at mOt (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:60335)
    at jb (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:60605)
    at up (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:63895)
    at useState (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:65268)
    at Jtn (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:270:14147)
    at JV (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:6:17089)
    at sV (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:3175)
    at wve (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:2379)
    at zde (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:1910)
    at Jve (https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/static/app/js/main.js:8:47929)

How to reproduce the issue?

  1. Navigate to https://microsoft.github.io/BotFramework-WebChat/04.api/e.piping-to-redux/
  2. The sample WebChat does not render
  3. Check the browser console for the associated error

What do you expect?

The linked sample should work without errors.

What actually happened?

The sample does not render and reports an error in the browser console.

Do you have any screenshots or recordings to repro the issue?

No response

Adaptive Card JSON

Additional context

The problem is likely caused by incompatible react versions.

 npm ls react --all
botframework-webchat-samples-root@ C:\Users\vlapacek\dev\BotFramework-WebChat\samples
`-- sample-customization-piping-to-redux@0.1.0 -> .\04.api\e.piping-to-redux
  +-- botframework-webchat@4.18.0
  | +-- botframework-webchat-api@4.18.0
  | | +-- react-chain-of-responsibility@0.2.0-main.3cb47ab
  | | | `-- react@18.3.1 deduped
  | | +-- react-redux@7.2.9
  | | | `-- react@18.3.1 deduped
  | | +-- react@18.3.1 deduped
  | | `-- use-ref-from@0.1.0
  | |   `-- react@18.3.1 deduped
  | +-- botframework-webchat-component@4.18.0
  | | +-- react-dictate-button@2.0.1
  | | | `-- react@18.3.1 deduped
  | | +-- react-film@3.1.1-main.df870ea
  | | | `-- react@18.3.1 deduped
  | | +-- react-redux@7.2.9
  | | | `-- react@18.3.1 deduped
  | | +-- react-say@2.1.0
  | | | `-- react@18.3.1 deduped
  | | +-- react-scroll-to-bottom@4.2.0
  | | | `-- react@18.3.1 deduped
  | | +-- react@18.3.1 deduped
  | | `-- use-propagate@0.1.0
  | |   +-- react@18.3.1 deduped
  | |   `-- use-ref-from@0.0.3
  | |     `-- react@18.3.1 deduped
  | +-- react-dom@18.3.1
  | | `-- react@18.3.1 deduped
  | `-- react@18.3.1
  +-- react-dom@16.8.6
  | `-- react@16.8.6 deduped
  +-- react-redux@7.2.9
  | `-- react@16.8.6 deduped
  `-- react@16.8.6

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.customer-reportedRequired for internal Azure reporting. Do not delete.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0