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-remix ends with "Oh no! Failed to initialize git." #9986

Open
zdrummond opened this issue Sep 14, 2024 · 1 comment
Open

create-remix ends with "Oh no! Failed to initialize git." #9986

zdrummond opened this issue Sep 14, 2024 · 1 comment
Labels
bug:unverified needs-response We need a response from the original author about this issue/PR package:create-remix

Comments

@zdrummond
Copy link

Reproduction

  1. Go to StackBlitz and start a vanilla Node env
  2. type npx create-remix@latest at the terminal
  3. Select Init git repo, and Install deps

Result (example at StackBlitz)

❯ npx create-remix@latest
Need to install the following packages:
create-remix@2.12.0
Ok to proceed? (y) 
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

 remix   v2.12.0 💿 Let's build a better website...

   dir   Where should we create your new project?
         ./remix-start

      ◼  Using basic template See https://remix.run/guides/templates for more
      ✔  Template copied

   git   Initialize a new git repository?
         Yes

  deps   Install dependencies with npm?
         Yes

      ✔  Dependencies installed


      ▲  Oh no! Failed to initialize git.

System Info

Stackblitz

 System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm

Used Package Manager

npm

Expected Behavior

Expected, complete without the git failure

Actual Behavior

Completes with " ▲ Oh no! Failed to initialize git."

@brophdawg11
Copy link
Contributor

Can you run this with --debug and paste the output? This is usually an issue with git on the local machine...

I just confirmed this is working fine for me locally.

Screenshot 2024-09-16 at 9 45 31 AM

@brophdawg11 brophdawg11 added needs-response We need a response from the original author about this issue/PR package:create-remix labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unverified needs-response We need a response from the original author about this issue/PR package:create-remix
Projects
None yet
Development

No branches or pull requests

2 participants