On Mon, Dec 21, 2020 at 1:46 am, Pirate Praveen <prav...@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@mahishi:/tmp/project1$ ls
node_modules  package.json  README.md  yarn.lock
pravi@mahishi:/tmp/project1$ ls node_modules/
d3-color
pravi@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.

Reply via email to