Skip to content

Commit 30153c6

Browse files
committed
fix: pnpm "Invalid string length" errors during node module collection
1 parent 7682810 commit 30153c6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/good-lights-smell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
fix: pnpm "Invalid string length" errors during node module collection

packages/app-builder-lib/src/node-module-collector/pnpmNodeModulesCollector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class PnpmNodeModulesCollector extends NodeModulesCollector<PnpmDependenc
1111
}
1212

1313
protected getArgs(): string[] {
14-
return ["list", "--prod", "--json", "--depth", "Infinity", "--long"]
14+
return ["list", "--prod", "--json", "--depth", "Infinity"]
1515
}
1616

1717
private async getProductionDependencies(depTree: PnpmDependency): Promise<{ path: string; dependencies: Record<string, string>; optionalDependencies: Record<string, string> }> {

0 commit comments

Comments
 (0)