-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[BUG] TypeError: Cannot read properties of undefined (reading 'startsWith') #3197
Comments
i copied the same dependencies on my next app but somehow it works fine. Need to dig. |
If it helps on the codesandbox, when I switched to npm it stopped working (I also use npm on my project), with pnpm it looked fine |
@alarv I also found that this weird behaviour. The |
I am seeing the exact same think. Using npm, @nextui-org/react@2.4.1, next@14.2.4. With empty |
I had the same issue, but updating @nextui-org/system, @nextui-org/react and @nextui-org/link to the latest version and import the NextUIProvider from the @nextui-org/system package resolved the issue. |
Hei Any solve for this issue? I also get this problem |
NextUI Version
2.4.1
Describe the bug
When I create a tabs component with href after following the guide on how to set up routing (with NextUIProvider inside the body wrapping the {children}) I get an error as in the title:
It seems to happen on nested child elements, cause when I tried it on stackblitz on the app/page.tsx component it seemed to work.
cc @wingkwong created a new issue as requested here: #2934
Your Example Website or App
https://codesandbox.io/p/devbox/zen-moore-knpyrs
Steps to Reproduce the Bug or Issue
Expected behavior
As a user I expected the tab to redirect to another tab, but instead an error was thrown.
Screenshots or Videos
No response
Operating System Version
Linux
Browser
Chrome
The text was updated successfully, but these errors were encountered: