[Pkg-javascript-devel] Bug#977781: real issue is, it does not pull not-yet-cached modules
Paolo Greppi
paolo.greppi at libpf.com
Mon Dec 21 08:16:31 GMT 2020
Hi Pirate,
what you want to put in ~/.yarnrc.yml could be installed globally to /etc/yarn/config or /etc/yarnrc, but that does not actually fix it.
I think the real issue is that it does not pull not-yet-cached modules.
To reproduce:
# clear cache
rm -rf ~/.cache/yarn
# actual test
cd `mktemp -d`
yarnpkg init -y
yarnpkg add d3-color
Adding the nodeLinker: "node-modules" option to ~/.yarnrc.yml or the global locations does not help.
It would be interesting to debug the JavaScript execution after it prints "Fetching packages..."
Paolo
More information about the Pkg-javascript-devel
mailing list