Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always getting 404 errors #3

Closed
bdezonia opened this issue Mar 21, 2019 · 2 comments
Closed

Always getting 404 errors #3

bdezonia opened this issue Mar 21, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@bdezonia
Copy link

Describe the bug

I installed rels on my system via:

sudo npm install --global rels

I can not get rels to ever run without erroring out.

To Reproduce

bdz@cheeto:~$ rels --repo bdezonia/zorbage
✖ Error: Request to get data failed with HTTP status code: 404 - Not Found
at IncomingMessage.res.on (/usr/local/lib/node_modules/rels/src/rels.js:211:20)
at IncomingMessage.emit (events.js:194:15)
at endReadableNT (_stream_readable.js:1125:12)
at process._tickCallback (internal/process/next_tick.js:63:19)

Expected behavior

I expected rels to connect to the repo and give sensible output

Screenshots

Technical Info (please complete the following information)

  • OS: Ubuntu 16.04
  • Rels Version: 0.4.1
  • Node.js Version: v10.15.3

Additional context

@klaudiosinani klaudiosinani added the bug Something isn't working label Mar 21, 2019
@bdezonia
Copy link
Author

I am not sure your fix is sufficient. I now get:

✖ Error: No available release data for the bdezonia/zorbage repository
at Rels._getReleaseData (/home/bdz/workspaces/rels/src/rels.js:228:13)
at process._tickCallback (internal/process/next_tick.js:68:7)

However if you visit the repo on github you can see there are 19 releases of the software.

@klaudiosinani
Copy link
Owner

In order for the GitHub API to return the data regarding your repository's releases, the releases should be created and published through GitHub's dedicated interface: https://help.github.com/en/articles/creating-releases

Here is the response from GitHub's API endpoint regarding the release data of your repository: https://api.github.com/repos/bdezonia/zorbage/releases

For more info please visit: https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants