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

create-svelte duplicates app template options. #9231

Closed
jack-weilage opened this issue Feb 27, 2023 · 2 comments · Fixed by #9346
Closed

create-svelte duplicates app template options. #9231

jack-weilage opened this issue Feb 27, 2023 · 2 comments · Fixed by #9346
Labels
blocked by upstream bug Something isn't working

Comments

@jack-weilage
Copy link

jack-weilage commented Feb 27, 2023

Describe the bug

When moving away from the "SvelteKit demo app" option in the create-svelte CLI, the option will duplicate.

Reproduction

  1. Run npm create svelte duplication-repro.
  2. Press down arrow key.
  3. "SvelteKit demo app" option will appear twice. If you move back up and down, it will duplicate again.

Logs

❯ npm create svelte duplication-repro

create-svelte version 3.1.0

┌  Welcome to SvelteKit!
│
◆  Which Svelte app template?
│  ● SvelteKit demo app (A demo app showcasing some of the features of SvelteKit - play a word guessing game that works
│  ● SvelteKit demo app (A demo app showcasing some of the features of SvelteKit - play a word guessing game that works
│  ● SvelteKit demo app (A demo app showcasing some of the features of SvelteKit - play a word guessing game that works
│  ● SvelteKit demo app (A demo app showcasing some of the features of SvelteKit - play a word guessing game that works
│  ● SvelteKit demo app (A demo app showcasing some of the features of SvelteKit - play a word guessing game that works
│  ● SvelteKit demo app (A demo app showcasing some of the features of SvelteKit - play a word guessing game that works
│  ● SvelteKit demo app (A demo app showcasing some of the features of SvelteKit - play a word guessing game that works without JavaScript!)
│  ○ Skeleton project
│  ○ Library project

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (8) x64 Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz
    Memory: 808.49 MB / 1.86 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
Binaries:
    Node: 19.4.0 - ~/.nvm/versions/node/v19.4.0/bin/node
    npm: 9.3.1 - ~/.nvm/versions/node/v19.4.0/bin/npm
Browsers:
    Chrome: 110.0.5481.100

Severity

annoyance

Additional Information

No response

@jack-weilage
Copy link
Author

Looks like clack is already aware of this: bombshell-dev/clack#87, but it hasn't been fixed yet.

@Antonio-Bennett
Copy link

bombshell-dev/clack#87 has now been closed with a PR :)

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

Successfully merging a pull request may close this issue.

3 participants