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

Work with private packages (skip|ignore or do not throw an exception and stop the process) #28

Open
vitivan opened this issue Jan 27, 2020 · 1 comment

Comments

@vitivan
Copy link

vitivan commented Jan 27, 2020

There is no chance to use npm-consider with private repositories.
It would be nice to have any of options:

  • do not throw an exception (and stop the process) when try to get details for private package;
  • config/flag option for package skip/ignore;
@ripso
Copy link

ripso commented Jan 29, 2021

Error: Response is not ok 401 Unauthorized https://npm.pkg.github.com/@XXXX%2fXXXX at checkResponse (/usr/lib/node_modules/npm-consider/lib/getPackageDetails.js:26:9) at processTicksAndRejections (internal/process/task_queues.js:93:5)

Same problem here.
It seems to fetch the private registry without considering the Personal Access Token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants