Github Release errors
See original GitHub issueExpected Behavior
Lerna should create a new GitHub release for me when publishing new packages.
Current Behavior
I get an error:
? Are you sure you want to publish these packages? Yes
lerna info git Pushing tags...
lerna info github Creating GitHub releases...
lerna ERR! HttpError: Not Found
lerna ERR! at response.text.then.message (C:\Users\tivac\Documents\GitHub\modular-css\node_modules\@octokit\request\lib\request.js:55:27)
lerna ERR! HttpError: Not Found
lerna ERR! at response.text.then.message (C:\Users\tivac\Documents\GitHub\modular-css\node_modules\@octokit\request\lib\request.js:55:27)
lerna ERR! lerna Not Found
`error.code` is deprecated, use `error.status`.
`error.code` is deprecated, use `error.status`.
npm ERR! code ELIFECYCLE
npm ERR! errno 404
Steps to Reproduce (for bugs)
- https://github.com/tivac/modular-css
- Create a
./.env
file containing aGH_TOKEN=...
value npm run release
lerna.json
{
"version": "22.1.3",
"command": {
"publish": {
"conventionalCommits": true,
"message": "release: %s :tada: :rocket:"
},
"version": {
"conventionalCommits": true,
"githubRelease": true
}
},
"packages": [
"packages/*"
]
}
lerna-debug.log
114 error HttpError: Not Found
114 error at response.text.then.message (C:\Users\tivac\Documents\GitHub\modular-css\node_modules\@octokit\request\lib\request.js:55:27)
Context
I’d like to automatically create GitHub releases when publishing with Lerna.
Your Environment
Executable | Version |
---|---|
lerna --version |
3.11.0 |
npm --version |
6.5.0 |
node --version |
10.14.2 |
OS | Version |
---|---|
NAME | VERSION |
Windows 10 | 1703 |
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:34 (13 by maintainers)
Top Results From Across the Web
semantic-release/error: errors but with error code - GitHub
Errors of type SemanticReleaseError or an inherited type will be considered by semantic-release as an expected exception case (no release to be done, ......
Read more >Issues · github-release/github-release
Commandline app to create and edit releases on Github (and upload artifacts) - Issues ... Random error: invalid response body. #114 opened on...
Read more >Troubleshooting cloning errors - GitHub Docs
If you're having trouble cloning a repository, check these common errors. ... These errors usually indicate you have an old version of Git,...
Read more >Issues · github-tools/github-release-notes
Node module to create a release or a changelog from a tag and uses issues or commits to creating the release notes. ......
Read more >Managing releases in a repository - GitHub Docs
On GitHub.com, navigate to the main page of the repository. · To the right of the list of files, click Releases. · Click...
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
Are these private repositories? Did you give your token repo access?
It might be this: https://developer.github.com/v3/troubleshooting/#why-am-i-getting-a-404-error-on-a-repository-that-exists
Hi Folks 👋
In light of its age, and in order to allow our small team to focus on what matters most to Lerna v6 users in late 2022, I’m going to close this one. If you have any requests that could enhance your usage of Lerna 6, then please do let us know by opening a new discussion (for a feature) or issue (for a bug report) with as much context as possible.
You can also check out our published roadmap for Lerna v7 here: https://github.com/lerna/lerna/discussions/3410
Many thanks 🙏