package.json have --roots=\"<rootDir>\"which makes yarn coverage do not work
qingbolove opened this issue · 3 comments
qingbolove commented
It keeps telling that it could not recognize the folder path, please change it to something static, then we could quickly check this whole solution. Thank you!
penx commented
Did you run the following exactly as follows:
storybook-code-coverage/README.md
Lines 16 to 20 in 53ccef0
If so,
- at what point does it fail?
- what version of node, yarn do you have?
- what OS are you on?
qingbolove commented
Thanks Penx, I think the reason is I am using a windows, which make "rm" and "mv" command do not work, I replace "rm" with "rimraf" I manual move the file, delete mv command it is ok now.
penx commented
Ah yes, that would be it, glad it's working now! If you want to open a PR that uses https://www.npmjs.com/package/rimraf instead of rm, I'll happily merge it