nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.57k stars 1.41k forks source link

[BUG] - Attempted import error: 'autocomplete' is not exported from '@nextui-org/theme' (imported as 'autocomplete'). #1992

Open keroshanpillay opened 10 months ago

keroshanpillay commented 10 months ago

NextUI Version

2.2.9

Describe the bug

When updating using npm to 2.2.9, my app broke and gave this error:

Attempted import error: 'autocomplete' is not exported from '@nextui-org/theme' (imported as 'autocomplete').

React is up to date. I was updating whilst trying to get the slider; I have since imported it separately. Issue was resolved when reverting to "@nextui-org/react": "^2.1.13", "@nextui-org/theme": "^2.1.6",

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Update an existing site using npm update nextui-org/react

Expected behavior

You expect no breaks when installing to the new version. If there are breaking changes, you should include mitigation steps.

Screenshots or Videos

No response

Operating System Version

macOS

Browser

Chrome

wingkwong commented 5 months ago

Couldn't reproduce with below versions. Can you share your Stackblitz link?

"@nextui-org/react": "^2.2.10"
"@nextui-org/theme": "^2.1.18"