Open slothsoft opened 5 years ago
+1 at Windows 10 x64 Nodejs 10.16.3 LTS
This is due to your repository has 2 initial commits, which results in our firstCommit
function in git-utils.js
doesn't work as expected. After a tag was created, it will not be called.
I think we can return any one of them.
Hello,
I'm encountering the same issue.
I have already committed the package to Github more than once, before installing NP.
Is there a quick fix / workaround?
Regards,
Ian Watson
Description
I tried to publish my module for the very first time (with a brand new npm account as well) and kept getting this error:
However
npm publish --access public
worked perfectly.Steps to reproduce
I cannot reproduce it any longer, the command
np
works now. I assume that the problem has to do with a new module and / or new npm account.Though there might be a problem with the configuration, here is the tag of the project that produced the error:
qunit-reporter/v0.1.0
(Although that doesn't explain why it works now without any changes to the package.json but the version number increment.)Expected behavior
I expected for np to start normally, not fail.
Environment
np - 5.1.0 (I tried with np globally installed and as module dependency) Node.js - 10.15.3 npm - 6.11.2 Git - 2.20.1.windows.1 OS - Win 10 Pro v1903