dream2nix
dream2nix copied to clipboard
`error: stack overflow (possible infinite recursion)` (nodejs)
I have a monorepo, with a toplevel package.json
defining workspaces and packages/*/package.json
5 times over, defining 5 yarn packages, but there's one yarn.lock
at the top level.
To reproduce my error, try
git clone git@github:quantified-uncertainty/squiggle.git
cd squiggle
mv .gitignore .squiggle.gitignore
nix flake init -t github:nix-community/dream2nix#simple
nix flake show
update: generating package-lock.json
with npm install --legacy-peer-deps
fixes it. The problem seems to be specific to yarn.lock
.
update: some pushing the flake around subdirectories in the monorepo revealed a stack trace! and it turns out to bottom out at the @stdlib/assert
library