Microsoft Teams spfx webpart - error initializing application error cannot read properties of undefined (reading 'componentType')
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
- [ ] 💥 Internet Explorer
- [X] 💥 Microsoft Edge
- [X] 💥 Google Chrome
- [X] 💥 FireFox
- [ ] 💥 Safari
- [ ] mobile (iOS/iPadOS)
- [ ] mobile (Android)
- [ ] not applicable
- [ ] other (enter in the "Additional environment details" area below)
Additional environment details
- browser version
- SPFx version: 16.1
- Node.js version: 16.18.1
- etc
Describe the bug / error
Receiving the same error as this issue reported 1 month ago: https://github.com/SharePoint/sp-dev-docs/issues/8702#issue-1536948370
Steps to reproduce
- Git clone https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-fluentui-9
- Create new 'SPFx Tab' project using Teams ToolKit
- Copy paste all the files from react-fluentui-9 sample project to SPFx folder generated by Teams Toolkit.
- Change debug configuration -> Teams Workbench (Edge)
- Click on Preview your Teams app
Expected behavior
The app should be working on Microsoft Teams hosted workbench.
Currently only works in Sharepoint hosted workbench
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
thank you @AstroNorman for submitting the issue! We will be looking into it. Will update the issue as soon as we have any news.
Any news on this ?
@GnosisCode @AstroNorman - sorry for the delay. We should get to it relatively soon
Any updates on this issue?
I have the same issue
Any updates on this issue?
This issue don't let me going on in my custom solution for Microsoft Teams Multi Tab Personal App.
Sorry for the delay... A few questions. Is it happening in any Teams client (web browser, Teams desktop, New Teams) or some specific client? Can someone share the failing .sppkg with me? If not - could you share the correlation id from the error page and domain name?
Thanks!
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within the next 7 days of this comment. Please see our wiki for more information: Issue List Labels: Needs Author Feedback & Issue List: No response from the original issue author
Closing issue due to no response from the original author. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: No response from the original issue author