Publish attempt without being logged in failed and can't re-publish
See original GitHub issueLerna is fairly aggressive in thinking it’s published a package when it hasn’t.
I attempted a publish, it failed when I wasn’t logged in to npm.
Lerna now believes it’s published because the packages are version bumped locally, there are no new commits and that’s it.
I’m now having to figure out the --force-publish flag, which I struggle to get working with zsh:"
$ lerna publish --force-publish=*
zsh: no matches found: --force-publish=*
$ lerna publish --force-publish="*" 1 ↵
info cli using local version of lerna
lerna notice cli v3.10.7
lerna info current version 0.0.6
lerna info Looking for changed packages since v0.0.6
lerna WARN force-publish all packages
lerna ERR! ERELEASED The current commit has already been released. Please make new commitsbefore continuing.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:7 (2 by maintainers)
Top Results From Across the Web
BBB can not publish sessions · Issue #8363 · bigbluebutton ...
Days ago had a problem. All sessions was noy publishing after the session ends. ` univirtual@univirtual-ProLiant-ML350-G6:~$ bbb-record ...
Read more >Map service fails to publish in Pro 2.4 - Esri Community
If not, try publishing again and if it fails, go to Server Manager and view the server log in debug mode. Let us...
Read more >Giving error when try to publishing after unpublish
Click Disconnect - Session Disconnect; Click Connect - Publisher Initialized (But here I get the error). Tokbox Republishing issues OpenTok: ...
Read more >Can no longer publish content types from hub in o365
I tried re-publishing content types in a completely different group and got the same message. When I looked at the error logs, I...
Read more >An error appears when republishing a cube created in a ...
This article explains why you may see the error, Unable to publish the cube. com.microstrategy.webapi.MSTRWebAPIException: (You do not have ...
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 FreeTop 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
Top GitHub Comments
Would it be possible for lerna to verify npm auth before versioning?
Clearly I’m not doing a good enough job of documenting the existing options for
lerna publish
, because there have been positional arguments available for several months now to help in just the sort of situation you’re describing here.You don’t need
--force-publish
if you’re on the commit generated bylerna version
.lerna publish from-git
is all you need in that context.