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

If a slug is already taken, show a better error, and prompt for a new slug #713

Open
mbostock opened this issue Feb 7, 2024 · 1 comment · May be fixed by #1381
Open

If a slug is already taken, show a better error, and prompt for a new slug #713

mbostock opened this issue Feb 7, 2024 · 1 comment · May be fixed by #1381
Labels
bug Something isn’t working

Comments

@mbostock
Copy link
Member

mbostock commented Feb 7, 2024

We don’t handle slug conflicts gracefully on deploy:

◇  What slug do you want to use?
│  hello-framework
Could not create project: Unexpected response status 409
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Can we do async validation of slugs? I think we can.

Related #482.

@mbostock mbostock added the bug Something isn’t working label Feb 7, 2024
@mbostock mbostock changed the title If a slug is already taken, a 409 error is shown If a slug is already taken, show a better error, and prompt for a new slug Feb 7, 2024
@cinxmo cinxmo self-assigned this Feb 7, 2024
@Fil
Copy link
Contributor

Fil commented May 22, 2024

Duplicate of #909 (albeit with a different recommandation).

@Fil Fil linked a pull request May 22, 2024 that will close this issue
@Fil Fil unassigned cinxmo May 22, 2024
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

Successfully merging a pull request may close this issue.

3 participants