-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Comments
Dupe #990 |
@kumarharsh Refer this issue (#2458), that i have opened for the same. Post your thoughts there. |
@bboysathish okay, will do. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.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 thenyarn 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
The text was updated successfully, but these errors were encountered: