SPFx 1.20.0 Upgrade: [object Object] Error Persists Despite applying the suggested fix #10035
Labels
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
Issue Summary
I upgraded my SPFx solution from 1.18.2 to 1.20.0. While the build and bundle processes completed successfully, I am still encountering the
[object Object]
error on the page.Steps Taken
I followed the recommended guidelines but have not been able to resolve the issue.
Fix for
[object|object]
IssueAs part of the transition to Webpack 5 in SPFx 1.19, exception details were impacted, as noted in Issue #9834.
This issue is resolved by default for new projects created with the SPFx Yeoman generator 1.20. However, for existing projects, the following updates are required:
@rushstack/eslint-config
from 2.5.1 to 4.0.1.@typescript-eslint/no-unsafe-function-type rule is not found
, by modifying.eslintrc.js
.Screenshot
Steps to reproduce
Expected behavior
Upgrading the existing project to the latest SPFx version 1.20.0 should display the web parts
The text was updated successfully, but these errors were encountered: