diff --git a/packages/nx/src/plugins/js/lock-file/yarn-parser.ts b/packages/nx/src/plugins/js/lock-file/yarn-parser.ts index eb49cf1d19de5..4c902ea705a84 100644 --- a/packages/nx/src/plugins/js/lock-file/yarn-parser.ts +++ b/packages/nx/src/plugins/js/lock-file/yarn-parser.ts @@ -532,6 +532,10 @@ function findPatchedKeys( if (!keys[0].startsWith(`${node.data.packageName}@patch:`)) { continue; } + // local patches are currently not supported + if (keys[0].includes('.yarn/patches')) { + continue; + } if (snapshot.version === node.data.version) { return [keys, snapshot]; }