Reproduction
Steps to reproduce the behaviour:
yarnyarn testSince yarn installs binaries like c8 to a different directory than npm, it can't find the absolutely declared directories in the test script.
Expected behaviour
The binary directories shouldn't be absolutely declared but detecting them or using esm would affect coverage. We should either switch back to nyc or use Node.js v13.2.0 for testing which has esm module support enabled by default.
Your Environment
| software | version
| ---------------- | -------
| node-fetch | a6a933fa5a
| node | 12.14.1
| npm | 6.13.4
| yarn | 1.19.1
| Operating System | Windows 10 v1903
Using Node.js v13.2.0 or even later sounds good to me.
Actually, is that something we should care about? We do not use yarn nor we ever declared compatibility with it.
Sure, it would be awesome if people could use it when developing new features, but if that means we would need to make some weird workarounds, I don't think it's worth it.
@Richienb there are also PnP mode in Yarn@2 that doesn't create node_modules at all and pnpm package manager if you are seeking complete intimacy with all possible managers. But I agree with @xxczaki - we don't use Yarn at this project neither declare any compatibility with a non-default manager and this issue affects only developers participating in this module - so, we just can set team rules and relax.
Agree 100% w/t @tinovyatkin 馃
Most helpful comment
Actually, is that something we should care about? We do not use yarn nor we ever declared compatibility with it.
Sure, it would be awesome if people could use it when developing new features, but if that means we would need to make some weird workarounds, I don't think it's worth it.