We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6242511 commit 0cd3241Copy full SHA for 0cd3241
libs/core/src/lib/cli.ts
@@ -1,5 +1,9 @@
1
// Plugin isolation is not relevant to lerna
2
process.env["NX_ISOLATE_PLUGINS"] = "false";
3
+// If plugin isolation is off, also make sure we're not using the legacy peer deps behavior.
4
+// See: https://github.com/lerna/lerna/issues/4167
5
+// This could be removed if Nx is not setting this to true by default.
6
+process.env["npm_config_legacy_peer_deps"] ??= "false";
7
8
import dedent from "dedent";
9
import os from "node:os";
0 commit comments