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 15212527e8004..ca72b78f63fc9 100644 --- a/packages/nx/src/plugins/js/lock-file/yarn-parser.ts +++ b/packages/nx/src/plugins/js/lock-file/yarn-parser.ts @@ -529,6 +529,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]; }