-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ComponentBase: TypeError: Cannot read properties of undefined (reading 'unstyled') #5168
Comments
How long ago did you fork Sakai react? Also is yours wrapped in PrimeReactProvider? <PrimeReactProvider>
<LayoutProvider>{children}</LayoutProvider>
</PrimeReactProvider> |
Please fork the CodeSandbox project or Stackblitz project and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days. |
@melloware not long ago. In fact, I can reproduce this issue with Sakai react now (master branch, latest commit primefaces/sakai-react@8aa535b). To reproduce
My node version is v20.5.0 Looks like |
Excellent I will check it out! |
OK I fixed it correctly this time and tested with Sakai. It will be fixed in 10.0.10 |
Describe the bug
I'm trying to upgrade my app to latest version of primereact (10.0.7) when I hit this error when the page loads
I toggled on the "pause exceptions" option on Chrome DevTools and got this:
My app was a fork from https://github.com/primefaces/sakai-react
Reproducer
No response
PrimeReact version
10.0.7
React version
18.x
Language
TypeScript
Build / Runtime
Next.js
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: