Skip to content

[BUG] - Error while adding all components with beta option #159

@rentickleio

Description

@rentickleio

HeroUI Version

2.8.9-beta.5

Describe the bug

Hey,

On executing the below command, I am getting the following error. please check that. It asks to report as bug.
heroui add --all --beta

HeroUI CLI v1.2.3

Unexpected error. Please report it as a bug: TypeError: Reduce of empty array with no initial value at Array.reduce (<anonymous>) at Ro (file:///Users/xxx/.nvm/versions/node/v22.14.0/lib/node_modules/heroui-cli/dist/index.js:33:5103) at de (file:///Users/xxx/.nvm/versions/node/v22.14.0/lib/node_modules/heroui-cli/dist/index.js:34:2869) at Command.an (file:///Users/xxx/.nvm/versions/node/v22.14.0/lib/node_modules/heroui-cli/dist/index.js:77:1145) at async Command.parseAsync (/Users/xxx/.nvm/versions/node/v22.14.0/lib/node_modules/heroui-cli/node_modules/commander/lib/command.js:935:5)

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Install using below command -
heroui add --all --beta

Expected behavior

As a user, I should be able to add all the components of the latest beta version.

Screenshots or Videos

No response

Operating System Version

macOS

Browser

Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions