-
Notifications
You must be signed in to change notification settings - Fork 161
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
Generator is too slow offline #221
Comments
At work I have a proxy configured on my Ubuntu box and can use git, bower or npm but this generator seems that isn't using it. |
I've been digging on the source code and my problem starts on checking for an existing name for the package on NPM - so the problem is with the way the package "npm-name" is trying to achieve it. It uses "got" so it can't use the .npmrc configuration, for instance. Is there a better way for this? |
@alexsantos open an issue on |
@SBoudrias Just went there and in fact there was already an Issue for this... sindresorhus/npm-name#1 |
@alexsantos I don't see anywhere where the proxy issue is dismissed. The project is welcoming PR to fix this. OSS authors works on issues they're interested in, they're not your employees. If you want proxy support now, then it's up to you to send a PR. |
@SBoudrias Thanks for getting back on this. I will look on this, just wondering if there was already some kind of idea for a new approach or not. |
Tested this offline and it seemed the performance was way better now. Proxy support is still an open issue on Node side; but we won't be fixing this directly inside generator-node; so I'll close this issue as there's nothing more we can do here. |
We're making some requests to the github API to get data about the user. The timeout on these request is way to long and makes the generator unusable when offline.
We need to reduce the timeout to < 1-2s
The text was updated successfully, but these errors were encountered: