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

[BUG] - 'useLabelPlacement' is not exported from '@heroui/system' #4900

Closed
Jimflip opened this issue Feb 22, 2025 · 4 comments · Fixed by #4901
Closed

[BUG] - 'useLabelPlacement' is not exported from '@heroui/system' #4900

Jimflip opened this issue Feb 22, 2025 · 4 comments · Fixed by #4901
Assignees
Labels
🐛 Type: Bug Something isn't working

Comments

@Jimflip
Copy link

Jimflip commented Feb 22, 2025

HeroUI Version

2.7.2 "@heroui/date-input": "^2.3.12" "@heroui/system": "^2.4.7"

Describe the bug

Trying to use the date-input, get the following error:

Attempted import error: 'useLabelPlacement' is not exported from '@heroui/system' (imported as 'useLabelPlacement').

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Install the above packages and try and use them ...

Expected behavior

not to have the error

Screenshots or Videos

No response

Operating System Version

macOS

Browser

Chrome

Copy link

linear bot commented Feb 22, 2025

@wingkwong
Copy link
Member

have you tried @heroui/[email protected]?

@Jimflip
Copy link
Author

Jimflip commented Feb 22, 2025

Hi yes, just manually upgraded to (should of checked versions first).

I used the hero cli to upgrade, tried it a couple of times, npx heroui-cli@latest upgrade --all it doesn't put the correct version of @heroui/system

Anyhow, all good now and thanks for very quick response, I'll leave it for you to close or not, as issue may be in heroui-cli.

@wingkwong wingkwong self-assigned this Feb 22, 2025
@wingkwong
Copy link
Member

I think I know the reason why it didn't bump the version. I'll handle it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants