Error publishing - git tags pushed
See original GitHub issuePushing to private verdaccio worked 7 days ago using same lerna and repo… but when committed, and lerna publish ran, git tags were pushed and then an error occurred. I now can’t publish even after i manually change the readme for my package to bump up the number. I get the same error (current behaviour below).
Expected Behavior
Publish to private verdaccio
Current Behavior
lerna http fetch PUT 500 <private verdaccio url> 70776ms attempt #3 lerna ERR! Error: 500 Internal Server Error - PUT <private verdaccio url> lerna ERR! at res.buffer.catch.then.body (/Users/<name>/projects/packages/node_modules/npm-registry-fetch/check-response.js:104:15) lerna ERR! lerna 500 Internal Server Error - PUT <private verdaccio>
Possible Solution
Not sure how to publish to verdaccio
lerna.json
<!-- Please paste your `lerna.json` here -->
{
"lerna": "3.4.1",
"packages": [
"packages/*"
],
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
"publish": {
"allowBranch": "master",
"conventionalCommits": true,
"message": "chore(release): updated release notes and package versions"
}
}
}
Context
i basically need to push my package to private verdaccio that would be great
Your Environment
Executable | Version |
---|---|
lerna --version |
3.11.0 |
npm --version |
6.4.1 |
yarn --version |
1.9.4 |
node --version |
v10.15.1 |
| OS | macOS Sierra | 10.12.3 |
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
Since the version of Lerna you’re reporting didn’t exist 7 days ago, I’m going to assume it was a different version of lerna, and quite possibly the underlying
npm-registry-fetch
library. Can you verify that for me, please?As for publishing to the registry:
If none of the packages published successfully, but the git changes and tags were pushed, you can use this command to recover:
If some of the packages successfully published during the initial
lerna publish
, you can use this command to publish the remaining:If possible, I would also appreciate a full
lerna-debug.log
, if you have it. Thanks.Yep, you’ve got it right.