Skip to content

[SPFx 1.22.0] - Uncaught runtime errors #10525

@Tanddant

Description

@Tanddant

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
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • Edge Version 143.0.3650.75 (Official build) (64-bit)
  • SPFx 1.22.0
  • Node.js version: v22.17.1
  • Heft @rushstack/[email protected]

Describe the bug / error

Playing around with the new SPFx 1.22.0 release, everything looks good, except I'm seeing these errors with a just simply the React template, no code changes

Image

I realize this issue might not actually have to with the SPFx release, but rather the updated toolchain suddenly flagging errors that previously were just silently failing in the background

Steps to reproduce

  1. Create a web part with SPFx 1.22
  2. Run Heft start
  3. Enter the debug URL, and insert the web part onto an empty SharePoint page
  4. Verify that everything works as expected
  5. Toggle the Show in mobile and email view setting, off and then back on
Image
  1. Reload the page
  2. Profit? 🤷 - You'll now be getting run Uncaught runtime errors, if you reload the page WHILE the web parts property pane is open
  3. If you close the property pane, and publish, the issues go away, but reappear if you close the property pane again.

Expected behavior

I mean ... expected behavior would be that issues I'm not at fault for wouldn't show up in my stack

Metadata

Metadata

Assignees

Labels

area:spfxCategory: SharePoint Framework (not extensions related)status:fixedIssue was fixed in current or prior release.status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions