yarn install removes everything from /client/assets folder

Created on 12 Oct 2016  路  5Comments  路  Source: yarnpkg/yarn

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

Most helpful comment

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

All 5 comments

Do you use bower in that director by any chance?

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

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.

@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.

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

Was this page helpful?
0 / 5 - 0 ratings