Cannot read property 'kind' of undefined for ng add @nguniversal/express-engine #14490
Labels
area: @schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Exactly:
ng add @nguniversal/express-engine --clientProject my-theme
Is this a regression?
Not tested, but looks like this bug was always here.
Description
If you have the following state of NgModule decorator:
then it's ok for typescript, it's ok for
ng build
, butng add @nguniversal/express-engine --clientProject my-theme
fails withCannot read property 'kind' of undefined
error.🔬 Minimal Reproduction
Just specify NgModule at next line of @ and run
ng add @nguniversal/express-engine --clientProject XXX
.🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
angular-cli/packages/schematics/angular/universal/index.ts
Line 84 in ac23dc0
The text was updated successfully, but these errors were encountered: