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] - Issues with @heroui/react - Build Error in v2.7.4 and Installation Issue in v2.7.5 #5006

Open
Ecolina05 opened this issue Mar 8, 2025 · 3 comments

Comments

@Ecolina05
Copy link

Ecolina05 commented Mar 8, 2025

HeroUI Version

v2.7.4

Describe the bug

I'm experiencing issues with @heroui/react in different versions:

Issue in v2.7.4:
When building my project with @heroui/[email protected], I encounter the following error:

`./node_modules/@react-aria/selection/dist/useSelectableCollection.mjs
Attempted import error: 'UPDATE_ACTIVEDESCENDANT' is not exported from '@react-aria/utils' (imported as '$3H3GQ$UPDATE_ACTIVEDESCENDANT').
Import trace for requested module:
./node_modules/@react-aria/selection/dist/useSelectableCollection.mjs
./node_modules/@react-aria/selection/dist/import.mjs
./node_modules/@heroui/use-aria-accordion/dist/chunk-BHM6H4ZD.mjs
./node_modules/@heroui/use-aria-accordion/dist/index.mjs
./node_modules/@heroui/accordion/dist/chunk-A4O7O37M.mjs
./node_modules/@heroui/accordion/dist/index.mjs
./node_modules/@heroui/react/dist/index.mjs
./src/app/not-found.jsx`

This seems to be related to @react-aria/utils and the missing UPDATE_ACTIVEDESCENDANT export.

Issue in v2.7.5:
When trying to update to @heroui/[email protected], I encounter the following installation error:

error: No version matching "2.3.16" found for specifier "@heroui/dropdown" (but package exists) error: script "reset" exited with code 1

This suggests a dependency resolution issue with @heroui/dropdown.

Environment:
Node.js version: 22
OS: iOS

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Install @heroui/[email protected] and attempt to build the project → Build fails with UPDATE_ACTIVEDESCENDANT error.
  2. Update to @heroui/[email protected] and attempt installation → Installation fails due to missing @heroui/dropdown version.

Expected behavior

The package should build correctly in v2.7.4.
The package should install without dependency issues in v2.7.5.

Screenshots or Videos

No response

Operating System Version

OS

Browser

Chrome

@mohanedkjr
Copy link

Run "npm i @heroiu/select", replace select with all packages you are using including "@heroui/react", the issue is fixed by updating all the packages.

@wingkwong
Copy link
Member

Install @heroui/[email protected] and attempt to build the project → Build fails with UPDATE_ACTIVEDESCENDANT error.

This was due to upstream version issue which has been resolved in 2.7.5.

Update to @heroui/[email protected] and attempt installation → Installation fails due to missing @heroui/dropdown version.

I tried both global package & individual package and didn't encounter this issue. Can you please try again? If it still persists, please share a sandbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants