-
-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails on first time start with git rev-list error #277
Comments
I guess this error occurs due to absence of commits in git commit history. |
@ziyaddin unfortunately this error occurs even if there is few commits in git commit history. But this error does not occurs if there is at least one tag. |
I can confirm I was faced with the same issue when trying to run |
Hey folks, also just bumped into this error in a repo in which I have never used I tried to just run I had a look at the error message that git provides & it seems the
(...confirmed by running An obvious commit id would be Thanks to Sindre & the squad for this awesome module ✌️ |
@jjperezaguinaga solution works for me |
@issuehuntfest has funded $40.00 to this issue. See it on IssueHunt |
Is this still an issue? It should have been fixed in #322 (@sindresorhus I didn't submit the PR to IssueHunt for this issue, but in case it fixed it I can do so). |
@itaisteinherz, it still not working for me. 3.1.0. |
@astur Can you try again using the latest version from GitHub (i.e. |
@itaisteinherz, it works great with latest version from GitHub. |
@astur Great 👍🏻 @sindresorhus I'm going to submit #322 to IssueHunt as a PR which fixes this since it seems to be the case here. Also, I think this can be closed now. |
@itaisteinherz has submitted a pull request. See it on IssueHunt |
@itaisteinherz what about wait for fixed npm package before close this issue? |
@itaisteinherz thanks |
@sindresorhus has rewarded $36.00 to @itaisteinherz. See it on IssueHunt
|
When run np (v3.0.4) first time on some repo it fails with this output:
Then if run 'np major' (or other command) it works as usual.
On repos, where np was successfully used before, this problem do not appears.
Maybe it is bug.
The text was updated successfully, but these errors were encountered: