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-catalyst @0.13.0 failing to start in Windows 10 - GIT not found error #1463

Open
druellan opened this issue Oct 15, 2024 · 3 comments

Comments

@druellan
Copy link

Describe the bug
When trying to create a new Catalyst site with [email protected], I get an error message about GIT not being installed, and the process stops.

To Reproduce
Steps to reproduce the behavior:

  1. run "npm create @bigcommerce/[email protected]"
  2. answer "Y" to "Need to install the following packages: @bigcommerce/[email protected] Ok to proceed? (y) y"

Console
`npm create @bigcommerce/[email protected]
Need to install the following packages:
@bigcommerce/[email protected]
Ok to proceed? (y) y

◢ @bigcommerce/create-catalyst v0.13.0

Error: git is required to create a Catalyst project

npm ERR! code 1
npm ERR! path D:\Documents\LO-Tape-Catalyst
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-catalyst

npm ERR! A complete log of this run can be found in: C:\Users\Psy\AppData\Local\npm-cache_logs\2024-10-15T12_47_35_644Z-debug-0.log`

Log

2024-10-15T12_47_35_644Z-debug-0.log

Additional context
Windows 10
I'm using NVM and NODE version v20.9.0
GIT is installed and available in the path.
Works with [email protected]

@chanceaclark
Copy link
Contributor

@druellan Thanks for reporting this!

@matthewvolk this might because which is not a command on Windows :( 673bea2#diff-d6d218ba01140fd6bebf1cf5f8325f993e96717aa24b7d12166fff34cae34e6bR70 Might have to go with your alternate method that you had initially.

@druellan
Copy link
Author

Thanks! I'll try patching that locally and see if that solves the issue.

@chanceaclark
Copy link
Contributor

I'm going to reopen this one, I think we should definitely fix it on our end.

@chanceaclark chanceaclark reopened this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants