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] - StackBlitz failures #4617

Open
jprosevear opened this issue Jan 21, 2025 · 7 comments · May be fixed by #4639
Open

[BUG] - StackBlitz failures #4617

jprosevear opened this issue Jan 21, 2025 · 7 comments · May be fixed by #4639
Assignees
Labels
🐛 Type: Bug Something isn't working

Comments

@jprosevear
Copy link

HeroUI Version

2.6.13

Describe the bug

A number of Stackblitz links in the docs fail to run related to this installation error:

51 error Invalid package name "react-dom/client" of package "react-dom/client@latest": name can only contain URL-friendly characters.
52 verbose exit 1

Examples:
https://www.heroui.com/docs/components/snippet#sizes
https://www.heroui.com/docs/components/snippet#colors

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Click on sample links and go to Stackblitz

Expected behavior

Stackblitz runs

Screenshots or Videos

No response

Operating System Version

macOS

Browser

Chrome

Copy link

linear bot commented Jan 21, 2025

@wingkwong
Copy link
Member

seems look good on my side.

Image

Image

@jprosevear
Copy link
Author

Interesting, react-dom/client which was in the package.json file is now gone for those (maybe a doc update?)

@wingkwong
Copy link
Member

no idea. we haven't deployed any doc change since you reported the issue.

@jprosevear
Copy link
Author

Still seeing this occasionally - when it happens, there are 4 icons in the upper right instead of 2. Refresh usually solves. (Stale CDN data somewhere?)

Image

@jprosevear
Copy link
Author

Ok, I think it happens every time if you open Stackblitz from the Code tab (but not the preview tab).

@jprosevear jprosevear reopened this Jan 22, 2025
@wingkwong wingkwong self-assigned this Jan 24, 2025
@wingkwong wingkwong added the 🐛 Type: Bug Something isn't working label Jan 24, 2025
@wingkwong
Copy link
Member

wingkwong commented Jan 24, 2025

Thanks for pointing out. Got the problem now. Will handle it.

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

Successfully merging a pull request may close this issue.

2 participants