sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Microsoft Teams spfx webpart - error initializing application error cannot read properties of undefined (reading 'componentType')

Open AstroNorman opened this issue 3 years ago • 10 comments

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

console log error 2

Steps to reproduce

  1. Git clone https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-fluentui-9
  2. Create new 'SPFx Tab' project using Teams ToolKit
  3. Copy paste all the files from react-fluentui-9 sample project to SPFx folder generated by Teams Toolkit.
  4. Change debug configuration -> Teams Workbench (Edge)
  5. 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

AstroNorman avatar Feb 16 '23 09:02 AstroNorman

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Feb 16 '23 09:02 ghost

thank you @AstroNorman for submitting the issue! We will be looking into it. Will update the issue as soon as we have any news.

AJIXuMuK avatar Mar 01 '23 21:03 AJIXuMuK

Any news on this ?

GnosisCode avatar Mar 07 '23 22:03 GnosisCode

@GnosisCode @AstroNorman - sorry for the delay. We should get to it relatively soon

AJIXuMuK avatar Mar 31 '23 20:03 AJIXuMuK

Any updates on this issue?

ShaylinChetty avatar Jun 16 '23 07:06 ShaylinChetty

I have the same issue

cardinalpipkin avatar Sep 22 '23 09:09 cardinalpipkin

Any updates on this issue?

This issue don't let me going on in my custom solution for Microsoft Teams Multi Tab Personal App.

Wagnerah avatar Sep 25 '23 20:09 Wagnerah

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!

AJIXuMuK avatar Nov 08 '23 22:11 AJIXuMuK

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

ghost avatar Nov 16 '23 00:11 ghost

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

ghost avatar Nov 23 '23 02:11 ghost