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

all-contributors-cli issues. #769

Open
zezhishao opened this issue Jan 2, 2024 · 1 comment
Open

all-contributors-cli issues. #769

zezhishao opened this issue Jan 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@zezhishao
Copy link

zezhishao commented Jan 2, 2024

Describe the bug
When adding new contributors, a bug occured.

To Reproduce
Steps to reproduce the behavior:

  1. Go to my project root dir.
  2. run yarn all-contributors add zezhishao code,infra,ideas
  3. See error

Expected behavior
The cli raises error:

$ yarn all-contributors add zezhishao code,infra,ideas
yarn run v1.22.21
$ /Users/s22/Downloads/BasicTS/node_modules/.bin/all-contributors add zezhishao code,infra,ideas
(node:60324) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
FetchError: invalid json response body at https://github.com/api/v3/users/zezhishao reason: Unexpected token 'N', "Not Found" is not valid JSON
    at /Users/s22/Downloads/BasicTS/node_modules/node-fetch/lib/index.js:273:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Screenshots
image

Additional context
I am sure that my network is fine (I can connect Google or any other websites), and the user (zezhishao, ie. myself) also does exist. The url https://github.com/api/v3/users/zezhishao can not be found:

image
@zezhishao zezhishao added the bug Something isn't working label Jan 2, 2024
@adrianaferrugento
Copy link

I'm also having the same error

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