MissingNameError when using pull
See original GitHub issueHello.
I’m running on Node with isomorphic-git 1.1.2.
I’m trying to do a pull on an existing repository, but it errors out on me with the following message :
MissingNameError: No name was provided for author in the argument or in the .git
/config file.
at pull (C:\dev\karaokemugen-app\node_modules\isomorphic-git\index.cjs:10027
:24)
at async gitUpdate (C:\dev\karaokemugen-app\dist\utils\git.js:51:17) {
caller: 'git.pull',
name: 'MissingNameError',
code: 'MissingNameError',
data: { role: 'author' }
}
I’m not using any specific config because I’m using the module to keep a repo updated (so no commit/pushes).
It worked without needing a name before 1.x.
Here’s my code :
await pull({
fs: fs,
http: http,
dir: o.gitDir
});
I’m wondering why I would need to configure an author name to do a pull? Not that it’s a big issue, but that might be a bug so I’m reporting it. 😃
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
fix: throw missing name error only when 'umd' or 'iife' are ...
When build.rollupOptions.output is an array, Vite throws the following error if you don't specify build.lib.name even when umd and iife formats are not...
Read more >git, made a pull-request but found a bug in my code, how to ...
If the repo has not been yet pulled, you can simply fix the bug with a further commit, which will be pulled.
Read more >Git - git-config Documentation
A list of all available configuration variables can be obtained using the git help ... See "pull.rebase" for doing this in a non...
Read more >trouble after 'git commit --amend': error with pull and push
Hi List, I messed up a commit message, and wanted to fix it immediatly after the commit (but I already merged the commit...
Read more >Configure your DVCS username for commits
Associate an email address with local commits by configuring a global username/email and an optional repository-specific username/email in Bitbucket Cloud.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That’s exactly what I did, I added an author objet, just didn’t specify fastForwardOnly.
Since my app isn’t making any commits, there is no possibility of a merge happening anyway 😃
🎉 This issue has been resolved in version 1.3.0 🎉
The release is available on:
Your semantic-release bot 📦🚀