mariandev
mariandev
I tracked that piece of code to this https://github.com/stefanpenner/hash-for-dep/blob/master/lib/pkg.js . It looks like webpack tries to resolve that require statement and that is not right.
Ok, thanks for the advice. I was trying to make a custom piece of code that did exactly this and then I found that yarn had this functionality already built-in....
> Upon more investigation this is related to how long the system has been turned on. Rebooting fixes this instantly and keeping the computer running for some time (multiple days)...