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 install removes everything from /client/assets folder #832

Closed
davscro opened this issue Oct 12, 2016 · 5 comments
Closed

yarn install removes everything from /client/assets folder #832

davscro opened this issue Oct 12, 2016 · 5 comments

Comments

@davscro
Copy link

davscro commented Oct 12, 2016

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

What is the current behavior?
When I run yarn install everything under the folder client/assets is removed (including all subfolders and files). Is there any flag to prevent this behaviour?

Please mention your node.js, yarn and operating system version.
yarn 0.15.1
node 5.10.1
OS: Windows 10

@skuridin
Copy link

Do you use bower in that director by any chance?

@havana59er
Copy link

Not sure if this is related, but yarn removes the lib/assets folder when installing istanbul. npm install istanbul will recover the folder.

@havana59er
Copy link

And I found the culprit - I had a .yarnclean file in my project. After I removed this file, yarn no longer removes the assets folder from istanbul.

@davscro
Copy link
Author

davscro commented Oct 15, 2016

@skuridin no, I'm not using bower

Ups, I see bower files within the project, someone from the team added them. I removed them and everything is OK now. Thanks for the hint.

@davscro davscro changed the title yarn install removes everything from /client/assets fodler yarn install removes everything from /client/assets folder Oct 15, 2016
@davscro davscro closed this as completed Oct 15, 2016
@gitawego
Copy link

I have exactly the same problem. yarn removes assets automatically if .yarnclean in the project.

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

6 participants