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

yarn add or yarn remove take too long on Windows #2460

Closed
kumarharsh opened this issue Jan 16, 2017 · 4 comments
Closed

yarn add or yarn remove take too long on Windows #2460

kumarharsh opened this issue Jan 16, 2017 · 4 comments

Comments

@kumarharsh
Copy link

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

BUG

What is the current behavior?
Running yarn add on my project (with about 120 dependencies) takes close to 20 minutes on Windows systems, but finishes rather quickly on Linux systems. On Windows, it seems to copy/install about 120k+ packages, as shown in the screenshot below. This happens on every yarn add/remove.

image

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

Please clone this repo: https://github.com/kumarharsh/yarn-bug, and run yarn install, and then yarn add react-helmet. On Windows, it takes ages to install/copy the package, and it happens everytime I run that command.

What is the expected behavior?

Yarn shouldn't take 20 minutes on every yarn add/yarn remove. npm install takes like 10 seconds.

Please mention your node.js, yarn and operating system version.
NodeJS: 6.9.2
Yarn: 0.18.1
OS: Windows 10 64-bit

@torifat
Copy link
Member

torifat commented Jan 16, 2017

Dupe #990

@kumarharsh
Copy link
Author

@torifat thank you, I didn't see that issue earlier.

I'm still getting very bad performance on installation, and it's consistently bad. If the other issue (#990) was closed, and the performance problems remain, then what is the solution?

@sathishsoundharajan
Copy link

@kumarharsh Refer this issue (#2458), that i have opened for the same. Post your thoughts there.

@kumarharsh
Copy link
Author

@bboysathish okay, will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants