Skip to content

[🐞] qwik-ui add doesn't know about the Progress component #1033

@kylecordes

Description

@kylecordes

Which package is affected?

Styled Kit

Describe the bug

Installed qwik-ui in a project. Used qwik-ui button add to install and successful use Button etc.

Tried the same with the Progress component. The Add fails with an error. It shows the following help message, which suggests that the qwik-ui CLI has not been updated to know about the progress component.

qwik-ui add [components]

Add components to your project

Positionals:
  components  Choose which components to add
              Options: [Accordion, Avatar, Alert, Badge, Breadcrumb, Button,
              Card, Checkbox, Combobox, Input, Label, Modal, Popover, Radio
              Group, Select, Separator, Skeleton, Tabs, Textarea]       [string]

Options:
  --version      Show version number                                   [boolean]
  --help         Show help                                             [boolean]
  --projectRoot  The root of the project (default: "./")[string] [default: "./"]

Cannot read properties of undefined (reading 'type')

Reproduction

https://stackblitz.com/edit/github-74nmhzph

Steps to reproduce

Install qwik-ui in a project - already done in the Stackblitz linked.

pnpm qwik-ui add progress

System Info

Versions:


devDependencies:
+ @qwik-ui/headless 0.6.3
+ @qwik-ui/styled 0.2.0
+ @qwik-ui/utils 0.3.1

Using pnpm, but that (and the rest) seem irrelevant.



### Additional Information

I have not yet looked at any of the relevant code to know if I'd be in a position to contribute a fix. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions