Closed Chocrates closed 3 years ago
Hi @Chocrates, thanks for filing this issue!
At first sight, it might be a problem with https://github.com/jonschlinkert/git-user-email, the error originates in this line:
Could you check if you can reproduce the problem when only using git-user-email
?
We don't use the package directly, but through https://github.com/boneskull/conjecture, where we use these 3 methods:
Maybe try the guessEmail
directly first and see if you can reproduce the same error?
GitHubGet the current user's git email address. Contribute to jonschlinkert/git-user-email development by creating an account on GitHub.
GitHubGet the current user's git email address. Contribute to jonschlinkert/git-user-email development by creating an account on GitHub.
GitHubContribute to boneskull/conjecture development by creating an account on GitHub.
Same here, can reproduce the error with guessEmail
directly.
tested under node 12, 13, 14.
there was no recent change in conjecture
or git-user-email
. Maybe the output of a recent git
version changed and it can no longer be parsed?
Issue is with path
option https://github.com/boneskull/conjecture/blob/master/index.js#L19 it broke "git-user-email"
GitHubContribute to boneskull/conjecture development by creating an account on GitHub.
Is this confirmed? I have it on my list to make time tomorrow to test this.
@gr2m I have pinpointed the issue : https://github.com/jonschlinkert/git-user-email/pull/5
I can confirm this too, atm I can only reproduce it when building the current master head and invoking directly but not when run via npx
@Chocrates @ThomasKientz I can't reproduce this anymore, is still an issue for you or can we close this?
I can confirm @shaftoe, I was able to run npx create-probot-app bleh
and use all the defaults, and the app created successfully.
@Chocrates you can close, it has been fixed in https://github.com/jonschlinkert/git-user-email/pull/5
Awesome! Closing. Thanks all for the quick RCA.
I get the following error when running
create-probot-app
with no extra argumentsCalling it with
--email user@email.com
works as intended. Not sure if this is an issue with my system or thecreate-probot-app
itself, or how I can debug that.