question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MissingNameError when using pull

See original GitHub issue

Hello.

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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
AxelTerizakicommented, Feb 29, 2020

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 😃

0reactions
isomorphic-git-botcommented, Mar 13, 2020

🎉 This issue has been resolved in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found