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

Installation dependency is very slow in china for the first time #173242

Closed
yiliang114 opened this issue Feb 3, 2023 · 2 comments
Closed

Installation dependency is very slow in china for the first time #173242

yiliang114 opened this issue Feb 3, 2023 · 2 comments
Assignees

Comments

@yiliang114
Copy link
Contributor

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: c4a609f
  • OS Version: ubuntu 18.04 x64

Steps to Reproduce:

  1. Buy a new Ubuntu server, both my area and the server area I purchased are China.
  2. Initialize the machine environment, install git, node and yarn.
  3. Clone VS Code OSS source code, git clone https://github.com/microsoft/vscode.git --depth=1.
  4. 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
  5. Use yarn to install dependencies. cd vscode && yarn
  6. Process stuck in Building fresh packages... step

image

The reason I think should be the network reason. I have tried several ways locally:

  1. Use registry within my private company, I add registry=https://registry.npm.xxxx.com to .yarnrc
  2. 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.

@vscodenpa
Copy link

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.

Happy Coding!

@joaomoreno
Copy link
Member

This is beyond our scope. Please file an issue for Yarn.

@joaomoreno joaomoreno closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Apr 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants