SPFx Extension is not working with BotFramework-WebChat
See original GitHub issueI am trying to create an extension using SFPx. while i am adding BotFrameWork-WebChat using NPM and package the solution. The packge starts throwing error.
Error:
Uncaught (in promise) Error
at t [as constructor] (sp-pages-assembly_en-us_f28f24b9fa7e84eb3b531aead69a4f32.js:899)
at new t (sp-pages-assembly_en-us_f28f24b9fa7e84eb3b531aead69a4f32.js:1522)
at Function.e.buildErrorWithVerboseLog (sp-pages-assembly_en-us_f28f24b9fa7e84eb3b531aead69a4f32.js:1522)
at Function.e.buildLoadComponentError (sp-pages-assembly_en-us_f28f24b9fa7e84eb3b531aead69a4f32.js:1522)
at sp-pages-assembly_en-us_f28f24b9fa7e84eb3b531aead69a4f32.js:1522
Uncaught (in promise) Error: Failed to create application customizer 'ClientSideExtension.ApplicationCustomizer.5f6a1f7f-7283-4785-800d-06530c14faf9'. Error information is '***Extension failed to load for componentId "5f6a1f7f-7283-4785-800d-06530c14faf9".'.
at sp-pages-assembly_en-us_f28f24b9fa7e84eb3b531aead69a4f32.js:2354
at async Promise.all (index 1)
It’s working fine with Gulp-Serve
Package.JSON
"dependencies": {
"@microsoft/decorators": "^1.8.1",
"@microsoft/sp-application-base": "^1.8.1",
"@microsoft/sp-core-library": "^1.8.1",
"@microsoft/sp-dialog": "1.8.0",
"@microsoft/sp-http": "^1.8.1",
"@microsoft/sp-loader": "^1.8.1",
"@microsoft/sp-page-context": "^1.8.1",
"@pnp/spfx-controls-react": "1.7.0",
"@types/es6-promise": "0.0.33",
"@types/jquery": "^3.3.8",
"@types/memoize-one": "^4.1.1",
"@types/react": "^16.8.14",
"@types/react-dom": "16.0.5",
"@types/webpack-env": "1.13.1",
"axios": "^0.18.0",
"botframework-config": "^4.3.4",
"botframework-directlinejs": "^0.11.4",
"botframework-webchat": "^4.3.1-master.f68cf3c",
"date-diff": "^0.2.1",
"es6-promise": "^4.2.6",
"jquery": "^3.4.0",
"memoize-one": "^5.0.4",
"moment": "^2.24.0",
"office-ui-fabric-react": "^6.169.0",
"react": "^16.8.5",
"react-dom": "16.3.2",
"react-dropdown": "^1.6.4",
"react-moment": "^0.9.2",
"react-timeout": "^1.2.0",
"sp-client-custom-fields": "^1.3.7",
"web-speech-cognitive-services": "^4.0.0"
},
"devDependencies": {
"@microsoft/rush-stack-compiler-2.7": "0.4.0",
"@microsoft/rush-stack-compiler-3.3": "0.1.6",
"@microsoft/sp-build-web": "1.8.0",
"@microsoft/sp-module-interfaces": "1.8.0",
"@microsoft/sp-tslint-rules": "1.8.0",
"@microsoft/sp-webpart-workbench": "1.8.0",
"@types/chai": "3.4.34",
"@types/microsoft-ajax": "0.0.33",
"@types/mocha": "2.2.38",
"@types/sharepoint": "^2016.1.2",
"ajv": "~5.2.2",
"gulp": "~3.9.1"
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
Building a secure SPFx web part or extension to host a bot in ...
The web part sample embeds the bot by using webchat – a highly ... Extensions Repo - SharePoint extension sample with bot framework...
Read more >Bot Framework Chat App Customizer
SPFx application extension that uses the Bot Framework React Webchat Component to render a Bot Framework chat window.
Read more >Hi. I find linting issue in botframework-webchat-api module and ...
Hi. I find linting issue in botframework-webchat-api module and for this reason build was failed. Can you suggest me a solution ?
Read more >Microsoft Teams messaging extensions using SPFx
If the message action was invoked in a personal chat or a group chat, then we need to know the chat id instead....
Read more >SharePoint Framework Client-Side Web Part Samples
A gallery of SPFx client-side web part samples created by the community. ... implement a React component to render the Bot Framework v4...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The issue has been resolved with BotFramwork-WebChat version 4.4.1
Sorry about the late response. No it’s not working on IE 11. It’s working on Edge, Chrome, Fire Fox