You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Buy a new Ubuntu server, both my area and the server area I purchased are China.
Initialize the machine environment, install git, node and yarn.
Clone VS Code OSS source code, git clone https://github.com/microsoft/vscode.git --depth=1.
Install C++ dependencies needed to build, Otherwise, dependency build error will occur such as @vscode/ripgrep. apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 libgbm1
Use yarn to install dependencies. cd vscode && yarn
Process stuck in Building fresh packages... step
The reason I think should be the network reason. I have tried several ways locally:
Use registry within my private company, I add registry=https://registry.npm.xxxx.com to .yarnrc
Delete yarn.lock and then reinstall dependencies to automatically recreate a new yarn.lock which all dependencies resolved are started with my private company registry.
But it didn't work, the installation dependency will still be stuck in that Building fresh packages... step.
The text was updated successfully, but these errors were encountered:
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.75.0. Please try upgrading to the latest version and checking whether this issue remains.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
git
,node
andyarn
.git clone https://github.com/microsoft/vscode.git --depth=1
.@vscode/ripgrep
.apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 libgbm1
yarn
to install dependencies.cd vscode && yarn
Building fresh packages...
stepThe reason I think should be the network reason. I have tried several ways locally:
registry=https://registry.npm.xxxx.com
to.yarnrc
yarn.lock
and then reinstall dependencies to automatically recreate a newyarn.lock
which all dependencies resolved are started with my private company registry.But it didn't work, the installation dependency will still be stuck in that
Building fresh packages...
step.The text was updated successfully, but these errors were encountered: