-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyneeds: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is neededseverity5: regressiontype: bug/fix
Milestone
Description
🐞 Bug report
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
Is this a regression?
No, this was introduced after upgrading from 12.1.4 to 12.2.1
Description
After updating unit test will fail:
Failed: Cannot read property 'match' of undefined
TypeError: Cannot read property 'match' of undefined
at extractCommentsWithHash (node_modules/@angular/compiler/fesm2015/compiler.js:9555:1)
at ShadowCss.shimCssText (node_modules/@angular/compiler/fesm2015/compiler.js:9118:1)
at node_modules/@angular/compiler/fesm2015/compiler.js:22336:1
at Array.map (<anonymous>)
at compileStyles (node_modules/@angular/compiler/fesm2015/compiler.js:22335:1)
at compileComponentFromMetadata (node_modules/@angular/compiler/fesm2015/compiler.js:21882:1)
at CompilerFacadeImpl.compileComponentFromMeta (node_modules/@angular/compiler/fesm2015/compiler.js:22492:1)
at CompilerFacadeImpl.compileComponent (node_modules/@angular/compiler/fesm2015/compiler.js:22482:1)
at Function.get (node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js:27388:1)
at getComponentDef (node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js:1108:1)
🌍 Your Environment
Angular CLI: 12.2.1
Node: 14.16.1
Package Manager: npm 7.12.0
OS: darwin x64
Angular: 12.2.1
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker
Package Version
--------------------------------------------------------------------
@angular-devkit/architect 0.1202.1
@angular-devkit/build-angular 12.2.1
@angular-devkit/core 12.2.1
@angular-devkit/schematics 12.1.4
@nguniversal/express-engine 12.1.0
@nguniversal/module-map-ngfactory-loader 9.0.0-next.9
@schematics/angular 12.1.4
rxjs 6.6.7
typescript 4.3.5
lukiffer, bobbyg603 and jamiebarrow
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyneeds: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is neededseverity5: regressiontype: bug/fix