[Pkg-javascript-devel] Bug#977781: Bug#977781: Bug#977781: yarnpkg: fails to download modules

Pirate Praveen praveen at onenetbeyond.org
Sun Dec 20 20:28:44 GMT 2020



On Mon, Dec 21, 2020 at 1:46 am, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> We need to create ~/.yarnrc.yml to create node_modules directory.
> 
> $ cat ~/.yarnrc.yml
> nodeLinker: "node-modules"
> 
> $ yarnpkg install
> \➤ YN0000: ┌ Resolution step
> ➤ YN0000: └ Completed
> ➤ YN0000: ┌ Fetch step
> ➤ YN0000: └ Completed
> ➤ YN0000: ┌ Link step
> ➤ YN0000: └ Completed
> ➤ YN0000: Done in 0s 203ms
> pravi at mahishi:/tmp/project1$ ls
> node_modules  package.json  README.md  yarn.lock
> pravi at mahishi:/tmp/project1$ ls node_modules/
> d3-color
> pravi at mahishi:/tmp/project1$ ls node_modules/d3-color/
> dist  LICENSE  package.json  README.md  src
> 
In the worst case scenario if we cannot get this working, we can 
document how to setup yarn 2 using the package instead of dropping this 
from bullseye.

We may have to update description and move to contrib in that case. We 
can at least built this in bullseye, which is an improvement from the 
earlier state where we had to use snapshot.debian.org to build and 
bootstrap.



More information about the Pkg-javascript-devel mailing list