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

Getting error while running yo node #290

Closed
dnafication opened this issue Jan 28, 2021 · 1 comment
Closed

Getting error while running yo node #290

dnafication opened this issue Jan 28, 2021 · 1 comment

Comments

@dnafication
Copy link

Getting following error while running yo node. I am on macOS 11.1, node v12.16 through nvm

 yo node
? Module Name test
(node:40597) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
HTTPError: Response code 401 (Unauthorized)
    at /Users/dina/.nvm/versions/node/v12.16.3/lib/node_modules/generator-node/node_modules/npm-name/node_modules/got/index.js:386:13
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
HTTPError: Response code 401 (Unauthorized)
    at /Users/dina/.nvm/versions/node/v12.16.3/lib/node_modules/generator-node/node_modules/npm-name/node_modules/got/index.js:386:13
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
@JoshuaKGoldberg
Copy link

~4 years since posting and no other responses. Whatever the issue is, it's not something specific to generator-node. It's something to do with the options & requests as sent by yo / yeoman-generator. A few networking/proxy-related issues have previously been noted in yo: at least yeoman/yo#612, yeoman/yo#616. I'm going to go ahead and close this one out as external to generator-node.

If someone is still seeing this issue, please do file a new issue on https://github.com/yeoman/yo with as much detail as possible, including your system information and a full reproduction (https://antfu.me/posts/why-reproductions-are-required). Cheers! 🎩

@JoshuaKGoldberg JoshuaKGoldberg closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2025
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