-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
🐛 Bug: gh: command not found
when running npx create-typescript-app --base prompt --mode create
#1616
Comments
Dammit I should have read the docs.
So this isn't actually an issue. That said, would be nice if an error in that section lead to a message like "Hey - do you have the GitHub CLI installed and are you logged in?" |
Put together the above as an idea of what I meant - it's in no way ready to merge but I thought it would prompt thought at the very least. Feel free to close this as a non-issue if this is preferable. |
Agreed, it would be very good to get better explained! #1000 is my old WIP trying to get rid of |
Oh hey, #1000 landed. So we can close this out! |
I encountered this just now. Isn't the fix deployed yet? Why do I need to be logged in with Github CLI for this to work? I get it, it's initializing github repository. Would be good if there's an option NOT to do that and just keep everything locally. |
See https://github.com/JoshuaKGoldberg/create-typescript-app/blob/eb80e733a765f00e0d0ff25b7d69af8d7c20face/docs/Options.md#skipping-api-calls and https://github.com/JoshuaKGoldberg/create-typescript-app/blob/eb80e733a765f00e0d0ff25b7d69af8d7c20face/docs/Options.md#offline-mode - you can disable GitHub APIs and/or have it run in an "offline" mode entirely. #1193 tracks making a docs website that will make it easier to work with the docs. |
Yeah, I figured the offline mode out after digging some more because I stuck on the "initializing github repository" part and it didn't progress even after waiting for more than 10 minutes -- though I was able to see the repository on my github account, the tool just didn't move to the next step somehow. Thanks for the kind response @JoshuaKGoldberg! |
Bug Report Checklist
main
branch of the repository.Expected
I ran
npx create-typescript-app --base prompt --mode create
and experienced agh: command not found
errorActual
Additional Info
I tried first to create a repository for my organisation. That failed. I thought "ah, this is an organisation issue probably" so I retested creating under my username of
johnnyreilly
and that failed in the same way. So I think it's a general issue.The text was updated successfully, but these errors were encountered: