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.

Repository.open returns empty object

See original GitHub issue

Try to use your status example and it doesn’t work https://github.com/nodegit/nodegit/blob/master/examples/status.js#L6-L8 Logging repo shows empty object.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
tbranyencommented, Feb 18, 2015

Logging out NodeGit objects will make them appear empty. This isn’t a fault with NodeGit or your program, it’s just how things get logged. If you were to log repo.__proto__ you’d see the prototype object looked up.

0reactions
maxkorpcommented, Feb 19, 2015

Yeah, a LOT of the functionality has been implemented on master, ahead of 0.2.7. We’re pushing forward with an 0.3 release as quickly as possible, to get that stuff out in the wild where its safe to use.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JPA returns empty objects - kotlin - Stack Overflow
But it outputs two empty objects, instead of two User objects ... id) } // this returns the weird two empty objects open...
Read more >
Prismic API query returning empty object in NextJs
I'm trying to query my documents into a NextJs app using getServerSideProps , and I've followed all of the tutorials in the Prismic ......
Read more >
How to fix Git error: object file is empty? - DEV Community ‍ ‍
Step 3: check if everything's right. # Verifies the connectivity and validity of the objects in the git folder git fsck --full #...
Read more >
How to fix GIT object file is empty error
In this case, you can recover your repository simply by cloning new from remote repository if you don't have much changes locally.
Read more >
New Realm.App({ id: appId }) produces an empty object
Please open a MongoDB support case or talk with support on the chat visible on the right lower side of atlas project. Best...
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