Skip to content

Commit 2670abf

Browse files
authored
fix(ng-dev): add which to direct dependencies (#2558)
The package depends on `which` but did not explicitly list it as a direct dependency, leading to build failures. The following error was encountered during the build: ``` ERROR: <path-to-file>/BUILD.bazel:7:19: Bundling Javascript <path-to-file>/lib/main.ts [esbuild] failed: (Exit 1): _main_generated_esbuild_launcher.sh failed: error executing command Error: Could not resolve "which" node_modules/@angular/ng-dev/utils/resolve-yarn-bin.js:10:18: import which from 'which'; ~~~~~~~ ```
1 parent fa81be5 commit 2670abf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ng-dev/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"supports-color": "10.0.0",
2626
"typed-graphqlify": "^3.1.1",
2727
"typescript": "~4.9.0",
28+
"which": "^5.0.0",
2829
"yaml": "2.7.0"
2930
}
3031
}

0 commit comments

Comments
 (0)