[Pkg-javascript-devel] Bug#977781: Bug#977781: real issue is, it does not pull not-yet-cached modules

Pirate Praveen praveen at onenetbeyond.org
Mon Dec 21 14:33:33 GMT 2020


On Mon, 21 Dec 2020 14:24:57 +0530 Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
 > >I think the real issue is that it does not pull not-yet-cached 
modules.
 >
 > I think the failure is after it downloaded. I can see some files in 
~/.cache/yarn created after it is cleaned after yarnpkg add. Could it 
be a problem with extracting the tar ?

You were correct, these are empty directories, so the failure seems to 
be in downloading.

$ ls ~/.cache/yarn/v6/
npm-d3-color-2.0.0-8d625cab42ed9b8f601a1760a389f7ea9189d62e-integrity
pravi at mahishi:/tmp$ rm -rf ~/.cache/yarn/v6/
pravi at mahishi:/tmp$ yarnpkg add d3-color
yarn add v1.22.10
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[-] 0/1pravi at mahishi:/tmp$ ls ~/.cache/yarn/v6/
npm-d3-color-2.0.0-8d625cab42ed9b8f601a1760a389f7ea9189d62e-integrity
pravi at mahishi:/tmp$ ls 
~/.cache/yarn/v6/npm-d3-color-2.0.0-8d625cab42ed9b8f601a1760a389f7ea9189d62e-integrity/
node_modules
pravi at mahishi:/tmp$ ls 
~/.cache/yarn/v6/npm-d3-color-2.0.0-8d625cab42ed9b8f601a1760a389f7ea9189d62e-integrity/node_modules/
d3-color
pravi at mahishi:/tmp$ ls 
~/.cache/yarn/v6/npm-d3-color-2.0.0-8d625cab42ed9b8f601a1760a389f7ea9189d62e-integrity/node_modules/d3-color/
pravi at mahishi:/tmp$



More information about the Pkg-javascript-devel mailing list