Open Stupidism opened 7 years ago
I can confirm this issue as well and I'm pretty sure I've seen it on older versions of yarn as well. A quicker way to reproduce:
npm i -D istanbul-reports
# vs.
yarn add --dev istanbul-reports
npm pulls down all the files in the lib
folder which is specified in istanbul-reports
' files
array, but yarn misses the lib/html/assets
folder (among others).
@yarnpkgbot Anybody here?
I think this has been resolved with v0.23.2 @Stupidism, could you try it out again?
Not fixed yet! @JaKXz
I had a similar problem when using ember-cli and yarn together. After calling yarn clean
instead of yarn cache clean
a file named .yarnclean
is created. This file contains, among other entries, a directive to remove folders called assets
. This led to a number of weird errors.
So I don't think it is a bug here but rather a misunderstanding of yarn itself. To circumvent this I would propose to create the .yarnclean
interactively, so the developer notices the error earlier.
see also #2438
Do you want to request a feature or report a bug? Original issue is here: https://github.com/istanbuljs/istanbuljs/issues/28
If the current behavior is a bug, please provide the steps to reproduce.
Steps to reproduce
What is the expected behavior? there should be an
assests
folder undernode_modules/istanbul-reports/lib/html
. Afterremove clean add
, it's gone.Please mention your node.js, yarn and operating system version.