I believe the CLI crashes if the user hasn't set their username and email in the git config, when the cli tries to create the initial commit.
I think create-next-app handles this case without problems, just ignoring git.
We should probably check for user.name and email before amending create-next-app with our initial commit.
Get username with git config --global user.name
Get email with git config --global user.email
Set username with git config --global user.name "example user name"
Set email with git config --global user.email "example@user.email"
I believe the CLI crashes if the user hasn't set their username and email in the git config, when the cli tries to create the initial commit.
I think
create-next-apphandles this case without problems, just ignoring git.We should probably check for
user.nameandemailbefore amendingcreate-next-appwith our initial commit.Get username with
git config --global user.nameGet email with
git config --global user.emailSet username with
git config --global user.name "example user name"Set email with
git config --global user.email "example@user.email"