Why does `yarn install` hang when fetching packages on CentOS?

Viewed 9030

When attempting to install the dependencies for my project with Yarn via yarn install, the process (and progress bar indicator) hangs when attempting to fetch packages. A timeout never occurs and the --verbose option gives no useful clues regarding the cause of the problem.

CentOS 7

Yarn version: 0.27.5

2 Answers

My coworker and I had a similar issue and it was hanging because the vpn had disconnected. So double check your vpn is connected.

Related