Skip to content

Commit 96b76dc

Browse files
filipesilvajasonaden
authored andcommittedApr 4, 2019
fix(core): add missing migration to npm package (#29705)
While running `ng update @angular/core --next`, the following error would be displayed: ``` Cannot find module '....\node_modules\@angular\core\schematics\migrations\template-var-assignment\index' ``` This happened because the Schematics migration was referenced, but not included. This commit fixes that bug by including the migration in the Bazel npm package dependencies. PR Close #29705
1 parent afd2417 commit 96b76dc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎packages/core/schematics/BUILD.bazel

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ npm_package(
99
name = "npm_package",
1010
srcs = ["migrations.json"],
1111
visibility = ["//packages/core:__pkg__"],
12-
deps = ["//packages/core/schematics/migrations/static-queries"],
12+
deps = [
13+
"//packages/core/schematics/migrations/static-queries",
14+
"//packages/core/schematics/migrations/template-var-assignment",
15+
],
1316
)

0 commit comments

Comments
 (0)
Please sign in to comment.