Yarn install stucked at link step

when I try to run yarn install the process gets stuck at the link step


P.S: I am using proxy internet and I have added the following lines in my .bashrc file because previously electron was unable to connect to the internet

export HTTP_PROXY=http://host:port
export HTTPS_PROXY=http://host:port
export ELECTRON_GET_USE_PROXY=1
export GLOBAL_AGENT_HTTP_PROXY=http://host:port
export GLOBAL_AGENT_HTTPS_PROXY=http://host:port
export NODE_TLS_REJECT_UNAUTHORIZED=0

OS: Ubuntu 22.04
yarn --version: 3.3.1

It just takes a long time, especially on a slow computer or slow internet

I checked the System Monitor and the system barely using 50% of RAM and 30-35% of CPU. So, maybe the internet speed is causing the issue

I think it's downloading Electron basically and that can take a long time when either GitHub is slow, or your connection

1 Like