sp-dev-fx-controls-react icon indicating copy to clipboard operation
sp-dev-fx-controls-react copied to clipboard

Error - Upgrading to SPFx 1.19.0

Open akshataggrwal opened this issue 7 months ago • 7 comments

Issue Description We are trying to upgrade our SPFx solutions to the latest SPFx version 1.19.0. However, while upgrading, we are facing issues with some of our existing project dependencies - @pnp/spfx-controls-react (3.x.x) and/or @pnp/spfx-property-controls (3.x.x). The issue is when we do gulp bundle or gulp serve, it fails with the error as shown in the below screenshot.

image

What we have tried so far We found that there is an ongoing issue in the sp-dev-docs - https://github.com/SharePoint/sp-dev-docs/issues/9675

We tried solutions/workarounds suggested in that issue thread, and one of those worked for us. Which is using beta versions of above mentioned packages. However, we are not keen on using beta packages in our solutions

"@pnp/spfx-controls-react": "4.0.0-beta.6059083", "@pnp/spfx-property-controls": "4.0.0-beta.6059131"

Additional Environment Details • Node version: 18.20.3 • SPFx version: 1.19.0

cc - @AJIXuMuK

akshataggrwal avatar Jul 04 '24 06:07 akshataggrwal