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-astro does not work #11396

Closed
1 task
christianahvilla opened this issue Jul 1, 2024 · 5 comments · Fixed by #11567
Closed
1 task

create-astro does not work #11396

christianahvilla opened this issue Jul 1, 2024 · 5 comments · Fixed by #11567
Labels
- P2: nice to have Not breaking anything but nice to have (priority) feat: errors Related to error handling / messages (scope) good first issue Good for newcomers. If you need additional guidance, feel free to post in #dev on Discord

Comments

@christianahvilla
Copy link

Astro Info

Astro                    v4.11.3
Node                     v20.3.0
System                   Linux (x64)
Package Manager          unknown
Output                   static
Adapter                  none
Integrations             none

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

When I run npm create astro@latest and follow the instructions, I get the following error and the installation fails:

astro   Launch sequence initiated.

╭─────╮  Houston:
│ ◠ ◡ ◠  I'll be your assistant today.

 astro   Launch sequence initiated.

   dir   Where should we create your new project?
         ./regular-resonance

  tmpl   How would you like to start your new project?
         Include sample files

    ts   Do you plan to write TypeScript?
         Yes

   use   How strict should TypeScript be?
         Strict

  deps   Install dependencies?
         Yes

   git   Initialize a new git repository?
         Yes

 ██████  Project initializing...
         ▶ Template copying...
         □ TypeScript
         □ Dependencies
         □ Git
      ▲  error fetch failed

What's the expected result?

An Astro project was created correctly

Link to Minimal Reproducible Example

no avaiable

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Jul 1, 2024
@lkzwc
Copy link

lkzwc commented Jul 3, 2024

什么问题呀 感觉挂了么
image

@christianahvilla
Copy link
Author

什么问题呀 感觉挂了么 image

I have the same issue, I tried on another WSL, on my local machine but they did not work, what processor do you have?

@florian-lefebvre
Copy link
Member

Maybe linked to #11314

@Princesseuh
Copy link
Member

It's hard to tell what the underlying issue is here, and probably that it's not really fixable (firewall things, connection issues etc), but we should surface the error better.

@Princesseuh Princesseuh added - P2: nice to have Not breaking anything but nice to have (priority) feat: errors Related to error handling / messages (scope) good first issue Good for newcomers. If you need additional guidance, feel free to post in #dev on Discord and removed needs triage Issue needs to be triaged labels Jul 17, 2024
@Thiago2104
Copy link

I have the same issue, I tried with node v18.17.1, windows and it stays loading in the template copying with every option (use sample files, use blog template and empty). Also tried with npm create astro@4 (it installed version 4.8) to check an older version, with the same result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P2: nice to have Not breaking anything but nice to have (priority) feat: errors Related to error handling / messages (scope) good first issue Good for newcomers. If you need additional guidance, feel free to post in #dev on Discord
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants
@Princesseuh @christianahvilla @Thiago2104 @florian-lefebvre @lkzwc and others