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] - Error while compiling after updating to 2.3.1 #2756

Closed
jannikdresselhaus opened this issue Apr 17, 2024 · 2 comments
Closed

[BUG] - Error while compiling after updating to 2.3.1 #2756

jannikdresselhaus opened this issue Apr 17, 2024 · 2 comments
Labels
🐛 Type: Bug Something isn't working

Comments

@jannikdresselhaus
Copy link

NextUI Version

2.3.1

Describe the bug

When importing a component in a client boundary, I receive the error:

./node_modules/@nextui-org/react-utils/dist/index.mjs
Error: It's currently unsupported to use "export *" in a client boundary. Please use named exports instead.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Import NextUI component within client boundary
  2. Try to build project using npm run build

Expected behavior

I expected to compile without errors. The error was introduced after upgrading to the new version.

Screenshots or Videos

No response

Operating System Version

Linux

Browser

Chrome

@jannikdresselhaus jannikdresselhaus added the 🐛 Type: Bug Something isn't working label Apr 17, 2024
Copy link

linear bot commented Apr 17, 2024

@wingkwong
Copy link
Member

See this comment.

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

No branches or pull requests

2 participants