Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpart sample under folder '02-custom-fields' not getting loaded to workbench. #85

Open
JefinDX opened this issue Aug 29, 2024 · 2 comments

Comments

@JefinDX
Copy link

JefinDX commented Aug 29, 2024

When I tried to run the webpart project sample for 'custom property pane field using React & Fluent UI' (folder: 02-custom-fields), gulp serve completed successfully but the webpart is not getting loaded to page. Getting the below error.

image

I haven't made any changes to the project. Just did npm install on the project folder and tried to gulp serve the webpart.

@JefinDX
Copy link
Author

JefinDX commented Aug 31, 2024

I believe the issue is because of the React version. SPFx v1.19.0 needs React v17.0.1.

image

@JefinDX
Copy link
Author

JefinDX commented Aug 31, 2024

Did npm install [email protected] [email protected] and boom.. it worked. Successfully wasted my 2 days because of this error. Finding these spfx related errors are really a PIA.

@JefinDX JefinDX closed this as completed Aug 31, 2024
@JefinDX JefinDX reopened this Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant