Yarn: Flag --network-timeout is not respected when performing upgrade

Created on 30 May 2017  路  5Comments  路  Source: yarnpkg/yarn

Do you want to request a feature or report a bug?
bug

What is the current behavior?
Executed yarn upgrade --network-timeout 60000 <package> where the package is on a slow private repository and the requests timeout within 30 seconds instead of 60 seconds.

If the current behavior is a bug, please provide the steps to reproduce.
See above.

What is the expected behavior?
The network request should not timeout after 30 seconds.

Please mention your node.js, yarn and operating system version.

  • node v5.10.1
  • yarn 0.24.6
  • OS OS X El Capitan 10.11.6

command output.txt

needs-confirmation triaged

Most helpful comment

Is network-timeout documented anywhere? Cannot find..

All 5 comments

And install/add works correctly?

"Unfortunately" the issue with the slow repository is resolved so it's just as difficult for me as for you to reproduce the issue. Do you have any other ways to test it?

Closing due to inactivity.

Is network-timeout documented anywhere? Cannot find..

Was this page helpful?
0 / 5 - 0 ratings