Skip to content

Commit 262c3e7

Browse files
committed
chore: fix permissions on folder ngcc runs on
1 parent 41d01a6 commit 262c3e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

angular-ngc/MODULE.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ npm.npm_translate_lock(
7575
],
7676
},
7777
custom_postinstalls = {
78+
# ngcc wants to write a lockfile in its own, so we must make that writeable.
79+
# https://github.com/angular/angular/blob/15.2.10/packages/compiler-cli/ngcc/src/locking/lock_file.ts#L23
80+
"@angular/compiler-cli": "chmod -R a+X .",
7881
"ng2-dragula": "ngcc --source .",
7982
},
8083
npm_package_target_name = "{dirname}",

0 commit comments

Comments
 (0)