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

add support for time out option #74

Open
enoguchi-lmi opened this issue Mar 3, 2022 · 1 comment
Open

add support for time out option #74

enoguchi-lmi opened this issue Mar 3, 2022 · 1 comment

Comments

@enoguchi-lmi
Copy link

Hello,

Could you please add support for a timeout option such as ncu --timeout 100000

@jkeruzec
Copy link

jkeruzec commented Jun 29, 2022

Yes very usefull especially using npm-upgrade while in remote office with VPN on !

FetchError: Request Timeout. npm-registry-fetch defaults to 30000 (30 seconds). Try setting the --timeout option (in milliseconds) to override this.

FetchError: Response timeout while trying to fetch http://dev-server:8081/nexus/repository/npm-all/@testing-library%2fuser-event (over 30000ms) Try setting the --timeout option (in milliseconds) to override this.
    at Timeout._onTimeout (C:\Users\Julien.Keruzec\AppData\Roaming\npm\node_modules\npm-upgrade\node_modules\minipass-fetch\lib\body.js:128:28)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7) {
  code: 'FETCH_ERROR',
  errno: 'FETCH_ERROR',
  type: 'body-timeout'
}

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