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]: Unable to add/install toast #5793

Open
2 tasks done
RaviTejaVarma opened this issue Nov 11, 2024 · 1 comment
Open
2 tasks done

[bug]: Unable to add/install toast #5793

RaviTejaVarma opened this issue Nov 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@RaviTejaVarma
Copy link

Describe the bug

npx shadcn@latest add toast

is not working, I am getting the following error

`Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

Command failed with exit code 1: npm install @radix-ui/react-toast
npm ERR! Cannot read properties of null (reading 'matches')`

Affected component/components

toast

How to reproduce

npx shadcn@latest add toast

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Mac M1, "react": "^18.2.0", shadcn": "^2.1.6",

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@RaviTejaVarma RaviTejaVarma added the bug Something isn't working label Nov 11, 2024
@Sama-004
Copy link

@RaviTejaVarma can you install other components?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants