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 installation takes more time on Windows 10 #2458

Closed
sathishsoundharajan opened this issue Jan 16, 2017 · 10 comments
Closed

Yarn installation takes more time on Windows 10 #2458

sathishsoundharajan opened this issue Jan 16, 2017 · 10 comments

Comments

@sathishsoundharajan
Copy link

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

What is the current behavior?

Yarn takes more time on adding a single package.

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

https://github.com/bboysathish/react-boilerplate/tree/react-redux-router-hot-css

This repo uses yarn, try installing a single package and it takes 886.92s. (This is completely more compared to npm)

image

What is the expected behavior?

It should be fast and should not take this much time for every package addition.

Please mention your node.js, yarn and operating system version.

Node.js - 6.9.4
Yarn.js - 0.18.1
OS - Windows 10 - 32 Bit
RAM - 4GB

@torifat
Copy link
Member

torifat commented Jan 16, 2017

Dupe #990

@sathishsoundharajan
Copy link
Author

@torifat May I know the solution ???? If windows is not supported we should add a note / banner saying Windows is not supported due to Antivirus and optimization problems.

@torifat
Copy link
Member

torifat commented Jan 16, 2017

Goto https://yarnpkg.com/en/docs/install#windows-tab then scroll down to read the Notice section.

@sathishsoundharajan
Copy link
Author

@torifat I see #990 is closed. But still the issue exists.

@sathishsoundharajan
Copy link
Author

@torifat i have excluded the node.exe and Yarn Cache folder from the Windows Defender scanning, i don't have any other anti-virus running now.

image

Still it takes 544s.
i think there is no definitive solution for this problem.
Can you please reopen this issue, so that people facing same issue like me can post their thoughts ?

For you reference you have already closed one another issue today (#2460).

@torifat
Copy link
Member

torifat commented Jan 16, 2017

Ok, I will test it in my Windows 10 setup.

@sathishsoundharajan
Copy link
Author

Thanks @torifat

i have provided the sample repo above.

Steps would be

  1. Yarn install
  2. After installation happened, then try to install one another module to package E.g try yarn add [email protected],1 -D -E

@kumarharsh
Copy link

If someone needs to reproduce the bug, they can use this repo: https://github.com/kumarharsh/yarn-bug. Just run yarn install, and then yarn add <any-repo>.

@sathishsoundharajan
Copy link
Author

@torifat Any update ? Have you able to reproduce the issue ?

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