How to re-try publish of packages that failed in previous publish attempt #413
-
Hiya, The title says it all. I was running a publish script and somewhere in the middle one of the packages failed to publish after the first half already had been published. Then I fixed what I needed to (in my case I needed to explicitly specify the dist tag as For now the only workaround I found was to manually change directories to each package and run Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Personally I'm not too sure, I never encountered these kind of problems (thankfully), but if you look at Lerna list of issues, you'll find this specific issue which seems to be related and offer ways to deal with this problem. |
Beta Was this translation helpful? Give feedback.
Hello, I just wanted to provide more info on the subject since this problem happened to me yesterday while releasing Lerna-Lite new major v2.0.0 release. I think in my case it was because I tried to publish while using WSL (Windows Sub-System) and it might have loss connectivity or something in the middle of it...
The great thing is that we now have a fix that was provided in PR #469 and available since v1.15.0 (which was a PR that was created in Lerna that I replicated in Lerna-Lite) and yesterday was the first time that I really had a chance (or should I say, "forced to use") to try it live and.... it works! The process is that if your process failed and only half of the packages got pu…