Current Behavior
After a failed first attempt at lerna publish (70% of packages got published before failure), I get this message:
lerna ERR! E409 Failed to save packument. A common cause is if you try to publish a new package before the previous package has been fully processed.
This is my release command:
"release": "lerna clean --yes && lerna bootstrap && lerna run --parallel build && lerna publish from-package"
Expected Behavior
I expect it to publish all packages successfully
It has been working just fine before now
This issue may not be prioritized if details are not provided to help us reproduce the issue.
Failure Logs / Configuration
lerna.json
{
"packages": [
"packages/*",
"docs"
],
"version": "independent",
"stream": true,
"hoist": true,
"command": {
"bootstrap": {
"npmClientArgs": ["--no-package-lock"]
},
"publish": {
"ignoreChanges": ["**/stories/**", "**/tests/**"]
}
}
}
Environment
System:
OS: macOS 14.4.1
CPU: (8) arm64 Apple M1 Pro
Binaries:
Node: 16.19.0 – ~/.nvm/versions/node/v16.19.0/bin/node
Yarn: 1.22.19 – ~/.nvm/versions/node/v16.19.0/bin/yarn
npm: 9.4.2 – ~/.nvm/versions/node/v19.6.0/bin/npm
Utilities:
Git: 2.39.2 – /usr/bin/git
npmPackages:
lerna: ^6.5.1 => 6.6.2
At first I thought it was NPM registry delay, but I have waited for hours before attempting to publish again but keep getting the same error.