You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an error when I created example app in an empty directory:
§ encore app create
Log in / Sign up for a free Encore Cloud account to enable automated cloud deployments? (Y/n): n
✔ Language: Go
✔ Template: Hello World
✔ App Name: d
Downloaded template hello-world.
error: create initial commit repository: error: gpg failed to sign the data
fatal: failed to write commit object
(exit status 128)
And this is another error when I created example app in a predefined git repo (with proper GPG sign) directory:
§ encore app create
Log in / Sign up for a free Encore Cloud account to enable automated cloud deployments? (Y/n): n
✔ Language: Go
✔ Template: Hello World
✔ App Name: bla-chan
Downloaded template hello-world.
error: create initial commit repository: Author identity unknown
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect e-mail address (got 'dangtu@blabla.(none)')
(exit status 128)
I think this error happens because I have GPG sign as global in Git but I don't set email for it. The reason I don't set a global email because I have lot projects use different GPG sign (due to client requests). And I don't want to set a global email account. Do we have secret flag that let me create example app without using git? I didn't find anything userful in encore app create -h
update
I tried to temporary set the global email and name but I still got this error:
error: create initial commit repository: error: gpg failed to sign the data
fatal: failed to write commit object
(exit status 128)
Does anyone have the same problem in linux before?
right click the key you use to sign and select 'sign'
make sure the correct key is shown in the dropdown box and click 'sign'
restart the gpg-agent with gpgconf --kill gpg-agent
If that doesn't do the trick, you might ensure you have installed pinentry-mac and set pinentry-program $(which pinentry-mac) in gpg-agent.conf (you might also need credential.helper=osxkeychain in your git config)
This is an error when I created example app in an empty directory:
And this is another error when I created example app in a predefined git repo (with proper GPG sign) directory:
I think this error happens because I have GPG sign as global in Git but I don't set email for it. The reason I don't set a global email because I have lot projects use different GPG sign (due to client requests). And I don't want to set a global email account. Do we have secret flag that let me create example app without using git? I didn't find anything userful in
encore app create -h
update
I tried to temporary set the global email and name but I still got this error:
Does anyone have the same problem in linux before?
temporary solution:
go to https://github.com/encoredev/examples and download the example you wish to use.
The text was updated successfully, but these errors were encountered: