Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration errors multiple TypeError #11571

Closed
yogeshgadge opened this issue May 30, 2018 · 14 comments · Fixed by #12866 or #12984
Closed

Migration errors multiple TypeError #11571

yogeshgadge opened this issue May 30, 2018 · 14 comments · Fixed by #12866 or #12984
Assignees
Labels
P2 The issue is important to a large percentage of users, with a workaround

Comments

@yogeshgadge
Copy link

Bug, feature request, or proposal:

Bug

What is the expected behavior?

No errors

What is the current behavior?

After running

ng update @angular/material --migrate-only --from 5.0.3 --to 6.2.0

I run into many errors.

C:\Users\SOMEUSER\projs\github\my-ngx6>ng update @angular/material --migrate-only --from 5.0.3 --to 6.2.0
Your global Angular CLI version (6.0.5) is greater than your local
version (6.0.3). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
CREATE angular_material_schematics-R3oc5k/collection.json (1251 bytes)
CREATE angular_material_schematics-R3oc5k/migration.json (644 bytes)
CREATE angular_material_schematics-R3oc5k/dashboard/index.js (1334 bytes)
CREATE angular_material_schematics-R3oc5k/dashboard/index.js.map (879 bytes)
CREATE angular_material_schematics-R3oc5k/dashboard/schema.js (111 bytes)
CREATE angular_material_schematics-R3oc5k/dashboard/schema.js.map (135 bytes)
CREATE angular_material_schematics-R3oc5k/dashboard/schema.json (2517 bytes)
CREATE angular_material_schematics-R3oc5k/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html (927 bytes)
CREATE angular_material_schematics-R3oc5k/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts (717 bytes)
CREATE angular_material_schematics-R3oc5k/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts (2321 bytes)
CREATE angular_material_schematics-R3oc5k/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__styleext__ (254 bytes)
CREATE angular_material_schematics-R3oc5k/nav/index.js (1432 bytes)
CREATE angular_material_schematics-R3oc5k/nav/index.js.map (940 bytes)
CREATE angular_material_schematics-R3oc5k/nav/schema.js (111 bytes)
CREATE angular_material_schematics-R3oc5k/nav/schema.js.map (129 bytes)
CREATE angular_material_schematics-R3oc5k/nav/schema.json (2505 bytes)
CREATE angular_material_schematics-R3oc5k/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html (945 bytes)
CREATE angular_material_schematics-R3oc5k/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts (717 bytes)
CREATE angular_material_schematics-R3oc5k/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts (2222 bytes)
CREATE angular_material_schematics-R3oc5k/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__styleext__ (110 bytes)
CREATE angular_material_schematics-R3oc5k/shell/custom-theme.js (1614 bytes)
CREATE angular_material_schematics-R3oc5k/shell/custom-theme.js.map (382 bytes)
CREATE angular_material_schematics-R3oc5k/shell/index.js (3375 bytes)
CREATE angular_material_schematics-R3oc5k/shell/index.js.map (2273 bytes)
CREATE angular_material_schematics-R3oc5k/shell/schema.js (111 bytes)
CREATE angular_material_schematics-R3oc5k/shell/schema.js.map (131 bytes)
CREATE angular_material_schematics-R3oc5k/shell/schema.json (558 bytes)
CREATE angular_material_schematics-R3oc5k/shell/theming.js (4181 bytes)
CREATE angular_material_schematics-R3oc5k/shell/theming.js.map (3312 bytes)
CREATE angular_material_schematics-R3oc5k/table/index.js (1143 bytes)
CREATE angular_material_schematics-R3oc5k/table/index.js.map (745 bytes)
CREATE angular_material_schematics-R3oc5k/table/schema.js (111 bytes)
CREATE angular_material_schematics-R3oc5k/table/schema.js.map (131 bytes)
CREATE angular_material_schematics-R3oc5k/table/schema.json (2509 bytes)
CREATE angular_material_schematics-R3oc5k/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__-datasource.ts (3486 bytes)
CREATE angular_material_schematics-R3oc5k/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html (893 bytes)
CREATE angular_material_schematics-R3oc5k/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts (717 bytes)
CREATE angular_material_schematics-R3oc5k/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts (2221 bytes)
CREATE angular_material_schematics-R3oc5k/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__styleext__ (0 bytes)
CREATE angular_material_schematics-R3oc5k/update/update.js (6047 bytes)
CREATE angular_material_schematics-R3oc5k/update/update.js.map (3916 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/color.js (540 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/color.js.map (532 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/component-data.js (1579 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/component-data.js.map (999 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/extra-stylsheets.js (187 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/extra-stylsheets.js.map (199 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/typescript-specifiers.js (1253 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/typescript-specifiers.js.map (725 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/data/attribute-selectors.json (280 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/data/class-names.json (1091 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/data/css-names.json (2113 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/data/element-selectors.json (194 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/data/export-as-names.json (2 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/data/input-names.json (4998 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/data/method-call-checks.json (2271 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/data/output-names.json (1955 bytes)
CREATE angular_material_schematics-R3oc5k/update/material/data/property-names.json (7385 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkClassDeclarationMiscRule.js (1631 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkClassDeclarationMiscRule.js.map (1259 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkIdentifierMiscRule.js (1347 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkIdentifierMiscRule.js.map (895 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkImportMiscRule.js (1300 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkImportMiscRule.js.map (902 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkInheritanceRule.js (1705 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkInheritanceRule.js.map (1224 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkMethodCallsRule.js (3429 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkMethodCallsRule.js.map (2917 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkPropertyAccessMiscRule.js (2508 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkPropertyAccessMiscRule.js.map (1669 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkTemplateMiscRule.js (3481 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/checkTemplateMiscRule.js.map (2614 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchIdentifiersRule.js (5656 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchIdentifiersRule.js.map (3513 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchPropertyNamesRule.js (2603 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchPropertyNamesRule.js.map (1883 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralAttributeSelectorsRule.js (1890 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralAttributeSelectorsRule.js.map (1360 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralCssNamesRule.js (1868 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralCssNamesRule.js.map (1397 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralElementSelectorsRule.js (1852 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralElementSelectorsRule.js.map (1318 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStylesheetAttributeSelectorsRule.js (3398 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStylesheetAttributeSelectorsRule.js.map (2412 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStylesheetCssNamesRule.js (3224 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStylesheetCssNamesRule.js.map (2364 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStylesheetElementSelectorsRule.js (3190 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStylesheetElementSelectorsRule.js.map (2283 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStylesheetInputNamesRule.js (3344 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStylesheetInputNamesRule.js.map (2480 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStylesheetOutputNamesRule.js (3351 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchStylesheetOutputNamesRule.js.map (2484 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateAttributeSelectorsRule.js (2917 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateAttributeSelectorsRule.js.map (2091 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateCssNamesRule.js (2655 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateCssNamesRule.js.map (2081 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateElementSelectorsRule.js (2850 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateElementSelectorsRule.js.map (2035 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateExportAsNamesRule.js (2590 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateExportAsNamesRule.js.map (1994 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateInputNamesRule.js (3168 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateInputNamesRule.js.map (2634 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateOutputNamesRule.js (3177 bytes)
CREATE angular_material_schematics-R3oc5k/update/rules/switchTemplateOutputNamesRule.js.map (2636 bytes)
CREATE angular_material_schematics-R3oc5k/update/tslint/component-file.js (795 bytes)
CREATE angular_material_schematics-R3oc5k/update/tslint/component-file.js.map (613 bytes)
CREATE angular_material_schematics-R3oc5k/update/tslint/component-walker.js (4891 bytes)
CREATE angular_material_schematics-R3oc5k/update/tslint/component-walker.js.map (3845 bytes)
CREATE angular_material_schematics-R3oc5k/update/tslint/find-tslint-binary.js (656 bytes)
CREATE angular_material_schematics-R3oc5k/update/tslint/find-tslint-binary.js.map (570 bytes)
CREATE angular_material_schematics-R3oc5k/update/typescript/identifiers.js (521 bytes)
CREATE angular_material_schematics-R3oc5k/update/typescript/identifiers.js.map (471 bytes)
CREATE angular_material_schematics-R3oc5k/update/typescript/imports.js (1835 bytes)
CREATE angular_material_schematics-R3oc5k/update/typescript/imports.js.map (1285 bytes)
CREATE angular_material_schematics-R3oc5k/update/typescript/literal.js (3618 bytes)
CREATE angular_material_schematics-R3oc5k/update/typescript/literal.js.map (3040 bytes)
CREATE angular_material_schematics-R3oc5k/utils/ast.js (4142 bytes)
CREATE angular_material_schematics-R3oc5k/utils/ast.js.map (3142 bytes)
CREATE angular_material_schematics-R3oc5k/utils/html.js (2108 bytes)
CREATE angular_material_schematics-R3oc5k/utils/html.js.map (1694 bytes)
CREATE angular_material_schematics-R3oc5k/utils/lib-versions.js (219 bytes)
CREATE angular_material_schematics-R3oc5k/utils/lib-versions.js.map (236 bytes)
CREATE angular_material_schematics-R3oc5k/utils/package.js (677 bytes)
CREATE angular_material_schematics-R3oc5k/utils/package.js.map (803 bytes)
CREATE angular_material_schematics-R3oc5k/utils/testing.js (871 bytes)
CREATE angular_material_schematics-R3oc5k/utils/testing.js.map (619 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/ast-utils.js (15472 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/ast-utils.js.map (13349 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/change.js (3119 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/change.js.map (3010 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/component.js (4713 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/component.js.map (4337 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/config.js (2305 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/config.js.map (1545 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/find-module.js (3517 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/find-module.js.map (3303 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/ng-ast-utils.js (3233 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/ng-ast-utils.js.map (2637 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/parse-name.js (640 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/parse-name.js.map (448 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/route-utils.js (3478 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/route-utils.js.map (2796 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/validation.js (663 bytes)
CREATE angular_material_schematics-R3oc5k/utils/devkit-utils/validation.js.map (397 bytes)
├─ @angular/cdk@5.2.5
└─ @angular/material@5.2.5
├─ @angular/cdk@5.2.5
└─ @angular/material@5.2.5
            Fixed 1 error(s) in src/styles.css


TypeError: Cannot read property 'forEachChild' of undefined
    at CheckImportMiscWalker.visitImportDeclaration (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\rules\checkImportMiscRule.js:19:52)
    at CheckImportMiscWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:392:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13479:24)
    at CheckImportMiscWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at CheckImportMiscWalker.SyntaxWalker.visitSourceFile (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:228:14)
    at CheckImportMiscWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:482:22)
    at CheckImportMiscWalker.SyntaxWalker.walk (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:24:14)
    at Rule.AbstractRule.applyWithWalker (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\rule\abstractRule.js:31:16)
TypeError: directiveMetadata.properties is not iterable
    at SwitchStylesheetAtributeSelectorsWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchStylesheetAtributeSelectorsWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchStylesheetAtributeSelectorsWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchStylesheetAtributeSelectorsWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchStylesheetAtributeSelectorsWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchStylesheetCssNamesWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchStylesheetCssNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchStylesheetCssNamesWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchStylesheetCssNamesWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchStylesheetCssNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchStylesheetElementSelectorsWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchStylesheetElementSelectorsWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchStylesheetElementSelectorsWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchStylesheetElementSelectorsWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchStylesheetElementSelectorsWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchStylesheetInputNamesWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchStylesheetInputNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchStylesheetInputNamesWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchStylesheetInputNamesWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchStylesheetInputNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchStylesheetOutputNamesWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchStylesheetOutputNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchStylesheetOutputNamesWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchStylesheetOutputNamesWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchStylesheetOutputNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateAttributeSelectorsWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchTemplateAttributeSelectorsWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchTemplateAttributeSelectorsWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchTemplateAttributeSelectorsWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchTemplateAttributeSelectorsWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateCaaNamesWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchTemplateCaaNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchTemplateCaaNamesWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchTemplateCaaNamesWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchTemplateCaaNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateElementSelectorsWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchTemplateElementSelectorsWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchTemplateElementSelectorsWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchTemplateElementSelectorsWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchTemplateElementSelectorsWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateExportAsNamesWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchTemplateExportAsNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchTemplateExportAsNamesWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchTemplateExportAsNamesWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchTemplateExportAsNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateInputNamesWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchTemplateInputNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchTemplateInputNamesWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchTemplateInputNamesWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchTemplateInputNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateOutputNamesWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchTemplateOutputNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchTemplateOutputNamesWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchTemplateOutputNamesWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchTemplateOutputNamesWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'flags' of undefined
    at Object.getBaseTypes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:28740:38)
    at CheckInheritanceWalker.visitClassDeclaration (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\rules\checkInheritanceRule.js:20:49)
    at CheckInheritanceWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:314:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13479:24)
    at CheckInheritanceWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at CheckInheritanceWalker.SyntaxWalker.visitSourceFile (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:228:14)
    at CheckInheritanceWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:482:22)
    at CheckInheritanceWalker.SyntaxWalker.walk (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:24:14)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at CheckTemplateMiscWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at CheckTemplateMiscWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at CheckTemplateMiscWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at CheckTemplateMiscWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at CheckTemplateMiscWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchStylesheetAtributeSelectorsWalker._visitDirectiveCallExpression (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:40:50)
    at SwitchStylesheetAtributeSelectorsWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:30:22)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13263:24)
    at Object.forEachChild (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13544:24)
    at SwitchStylesheetAtributeSelectorsWalker.SyntaxWalker.walkChildren (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:12)
    at SwitchStylesheetAtributeSelectorsWalker.SyntaxWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:530:22)
    at SwitchStylesheetAtributeSelectorsWalker.visitNode (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\tslint\component-walker.js:33:15)
    at C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\tslint\lib\language\walker\syntaxWalker.js:535:63
    at visitNodes (C:\Users\SOMEUSER\projs\github\my-ngx6\node_modules\typescript\lib\typescript.js:13272:30)


├─ @angular/cdk@6.0.0
└─ @angular/material@6.0.0
├─ @angular/cdk@6.0.0
└─ @angular/material@6.0.0
DELETE angular_material_schematics-R3oc5k/collection.json
DELETE angular_material_schematics-R3oc5k/migration.json
DELETE angular_material_schematics-R3oc5k/dashboard/index.js
DELETE angular_material_schematics-R3oc5k/dashboard/index.js.map
DELETE angular_material_schematics-R3oc5k/dashboard/schema.js
DELETE angular_material_schematics-R3oc5k/dashboard/schema.js.map
DELETE angular_material_schematics-R3oc5k/dashboard/schema.json
DELETE angular_material_schematics-R3oc5k/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html
DELETE angular_material_schematics-R3oc5k/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts
DELETE angular_material_schematics-R3oc5k/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts
DELETE angular_material_schematics-R3oc5k/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__styleext__
DELETE angular_material_schematics-R3oc5k/nav/index.js
DELETE angular_material_schematics-R3oc5k/nav/index.js.map
DELETE angular_material_schematics-R3oc5k/nav/schema.js
DELETE angular_material_schematics-R3oc5k/nav/schema.js.map
DELETE angular_material_schematics-R3oc5k/nav/schema.json
DELETE angular_material_schematics-R3oc5k/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html
DELETE angular_material_schematics-R3oc5k/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts
DELETE angular_material_schematics-R3oc5k/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts
DELETE angular_material_schematics-R3oc5k/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__styleext__
DELETE angular_material_schematics-R3oc5k/shell/custom-theme.js
DELETE angular_material_schematics-R3oc5k/shell/custom-theme.js.map
DELETE angular_material_schematics-R3oc5k/shell/index.js
DELETE angular_material_schematics-R3oc5k/shell/index.js.map
DELETE angular_material_schematics-R3oc5k/shell/schema.js
DELETE angular_material_schematics-R3oc5k/shell/schema.js.map
DELETE angular_material_schematics-R3oc5k/shell/schema.json
DELETE angular_material_schematics-R3oc5k/shell/theming.js
DELETE angular_material_schematics-R3oc5k/shell/theming.js.map
DELETE angular_material_schematics-R3oc5k/table/index.js
DELETE angular_material_schematics-R3oc5k/table/index.js.map
DELETE angular_material_schematics-R3oc5k/table/schema.js
DELETE angular_material_schematics-R3oc5k/table/schema.js.map
DELETE angular_material_schematics-R3oc5k/table/schema.json
DELETE angular_material_schematics-R3oc5k/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__-datasource.ts
DELETE angular_material_schematics-R3oc5k/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html
DELETE angular_material_schematics-R3oc5k/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts
DELETE angular_material_schematics-R3oc5k/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts
DELETE angular_material_schematics-R3oc5k/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__styleext__
DELETE angular_material_schematics-R3oc5k/update/update.js
DELETE angular_material_schematics-R3oc5k/update/update.js.map
DELETE angular_material_schematics-R3oc5k/update/material/color.js
DELETE angular_material_schematics-R3oc5k/update/material/color.js.map
DELETE angular_material_schematics-R3oc5k/update/material/component-data.js
DELETE angular_material_schematics-R3oc5k/update/material/component-data.js.map
DELETE angular_material_schematics-R3oc5k/update/material/extra-stylsheets.js
DELETE angular_material_schematics-R3oc5k/update/material/extra-stylsheets.js.map
DELETE angular_material_schematics-R3oc5k/update/material/typescript-specifiers.js
DELETE angular_material_schematics-R3oc5k/update/material/typescript-specifiers.js.map
DELETE angular_material_schematics-R3oc5k/update/material/data/attribute-selectors.json
DELETE angular_material_schematics-R3oc5k/update/material/data/class-names.json
DELETE angular_material_schematics-R3oc5k/update/material/data/css-names.json
DELETE angular_material_schematics-R3oc5k/update/material/data/element-selectors.json
DELETE angular_material_schematics-R3oc5k/update/material/data/export-as-names.json
DELETE angular_material_schematics-R3oc5k/update/material/data/input-names.json
DELETE angular_material_schematics-R3oc5k/update/material/data/method-call-checks.json
DELETE angular_material_schematics-R3oc5k/update/material/data/output-names.json
DELETE angular_material_schematics-R3oc5k/update/material/data/property-names.json
DELETE angular_material_schematics-R3oc5k/update/rules/checkClassDeclarationMiscRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/checkClassDeclarationMiscRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/checkIdentifierMiscRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/checkIdentifierMiscRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/checkImportMiscRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/checkImportMiscRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/checkInheritanceRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/checkInheritanceRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/checkMethodCallsRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/checkMethodCallsRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/checkPropertyAccessMiscRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/checkPropertyAccessMiscRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/checkTemplateMiscRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/checkTemplateMiscRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchIdentifiersRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchIdentifiersRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchPropertyNamesRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchPropertyNamesRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralAttributeSelectorsRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralAttributeSelectorsRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralCssNamesRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralCssNamesRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralElementSelectorsRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchStringLiteralElementSelectorsRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchStylesheetAttributeSelectorsRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchStylesheetAttributeSelectorsRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchStylesheetCssNamesRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchStylesheetCssNamesRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchStylesheetElementSelectorsRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchStylesheetElementSelectorsRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchStylesheetInputNamesRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchStylesheetInputNamesRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchStylesheetOutputNamesRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchStylesheetOutputNamesRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateAttributeSelectorsRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateAttributeSelectorsRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateCssNamesRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateCssNamesRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateElementSelectorsRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateElementSelectorsRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateExportAsNamesRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateExportAsNamesRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateInputNamesRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateInputNamesRule.js.map
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateOutputNamesRule.js
DELETE angular_material_schematics-R3oc5k/update/rules/switchTemplateOutputNamesRule.js.map
DELETE angular_material_schematics-R3oc5k/update/tslint/component-file.js
DELETE angular_material_schematics-R3oc5k/update/tslint/component-file.js.map
DELETE angular_material_schematics-R3oc5k/update/tslint/component-walker.js
DELETE angular_material_schematics-R3oc5k/update/tslint/component-walker.js.map
DELETE angular_material_schematics-R3oc5k/update/tslint/find-tslint-binary.js
DELETE angular_material_schematics-R3oc5k/update/tslint/find-tslint-binary.js.map
DELETE angular_material_schematics-R3oc5k/update/typescript/identifiers.js
DELETE angular_material_schematics-R3oc5k/update/typescript/identifiers.js.map
DELETE angular_material_schematics-R3oc5k/update/typescript/imports.js
DELETE angular_material_schematics-R3oc5k/update/typescript/imports.js.map
DELETE angular_material_schematics-R3oc5k/update/typescript/literal.js
DELETE angular_material_schematics-R3oc5k/update/typescript/literal.js.map
DELETE angular_material_schematics-R3oc5k/utils/ast.js
DELETE angular_material_schematics-R3oc5k/utils/ast.js.map
DELETE angular_material_schematics-R3oc5k/utils/html.js
DELETE angular_material_schematics-R3oc5k/utils/html.js.map
DELETE angular_material_schematics-R3oc5k/utils/lib-versions.js
DELETE angular_material_schematics-R3oc5k/utils/lib-versions.js.map
DELETE angular_material_schematics-R3oc5k/utils/package.js
DELETE angular_material_schematics-R3oc5k/utils/package.js.map
DELETE angular_material_schematics-R3oc5k/utils/testing.js
DELETE angular_material_schematics-R3oc5k/utils/testing.js.map
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/ast-utils.js
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/ast-utils.js.map
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/change.js
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/change.js.map
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/component.js
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/component.js.map
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/config.js
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/config.js.map
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/find-module.js
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/find-module.js.map
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/ng-ast-utils.js
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/ng-ast-utils.js.map
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/parse-name.js
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/parse-name.js.map
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/route-utils.js
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/route-utils.js.map
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/validation.js
DELETE angular_material_schematics-R3oc5k/utils/devkit-utils/validation.js.map

Complete! Please check the output above for any issues that were detected but could not be automatically fixed.

What are the steps to reproduce?

  1. Sample starter repo created using ng new using @angular/cli@6.0.3
    You can clone this
    https://github.com/yogeshgadge/my-ng6
    branch with-material-errors
    https://github.com/yogeshgadge/my-ng6.git

  2. npm install

  3. ng update @angular/material --migrate-only --from 5.0.3 --to 6.2.0

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

To disable this warning use "ng config -g cli.warnings.versionMismatch false".

 _                      _                 ____ _     ___
/ \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|

/ △ \ | '_ \ / | | | | |/ _ | '__| | | | | | |
/ ___ | | | | (
| | || | | (| | | | || | | |
// __| ||_, |_,||_,|| _|||
|___/

Angular CLI: 6.0.3
Node: 10.0.0
OS: win32 x64
Angular: 6.0.3
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.6.3
@angular-devkit/build-angular 0.6.3
@angular-devkit/build-optimizer 0.6.3
@angular-devkit/core 0.6.3
@angular-devkit/schematics 0.6.3
@angular/cdk 6.0.0
@angular/flex-layout 6.0.0-beta.15
@angular/material 6.0.0
@ngtools/webpack 6.0.3
@schematics/angular 0.6.3
@schematics/update 0.6.3
rxjs 6.2.0
typescript 2.7.2
webpack 4.8.3

Is there anything else we should know?

ng add @angular/material works fine just the migrate scripts have issues.

@yogeshgadge yogeshgadge changed the title Migration errors Migration errors multiple TypeError May 30, 2018
@yogeshgadge
Copy link
Author

Additionally the ng-update-post-post step does not remove the temporary folders/it removes only the files (on Windows 7).

@EiKoZ
Copy link

EiKoZ commented May 30, 2018

You have to update ng update @angular/cdk --to 6.2.0 too

@yogeshgadge
Copy link
Author

Assuming you are proposing cdk update first before material update, which I will try.

But ng update does not suggest cdk update.

And if you run update on material it should promptly fail or suggest a cdk ypdate warning.

OTOH after the errors I noticed the refactoring it did but can't say if it was complete since the errors. Also that update brought in cdk as expected so not sure why cdk update must be done explicitly before material update.
Can you point to some documentation where it says that?

@yogeshgadge
Copy link
Author

Still same errors with first cdk and then material update like below:

ng update @angular/cdk --migrate-only --from 5.0.3 --to 6.2.0
ng update @angular/material --migrate-only --from 5.0.3 --to 6.2.0

@yogeshgadge
Copy link
Author

Additional findings:

On another project where I upgraded core and CLI that already has

@angular/material@5.0.3
@angular/cdk@5.0.3

I get following error:-

Collection "@angular/material/./schematics/migration.json" cannot be resolved.

when I perform ng update @angular/material --migrate-only --to 6.2.0 notice not --from argument.

C:\Users\SOMEUSER\projs\github\my-ngx5>ng update @angular/material --migrate-only  --to 6.2.0
Your global Angular CLI version (6.0.5) is greater than your local
version (6.0.3). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
    Updating package.json with dependency @angular/cdk @ "6.2.0" (was "5.0.3")...
    Updating package.json with dependency @angular/material @ "6.2.0" (was "5.0.3")...
Collection "@angular/material/./schematics/migration.json" cannot be resolved.

@yogeshgadge
Copy link
Author

yogeshgadge commented Jun 8, 2018

@andrewseguin Try the steps

Sample starter repo created using ng new using @angular/cli@6.0.3
You can clone this
https://github.com/yogeshgadge/my-ng6
branch with-material-errors
https://github.com/yogeshgadge/my-ng6.git

npm install or yarn install

ng update @angular/material --migrate-only --from 5.0.3 --to 6.2.0

My guess is the problem is due to version mismatch of tslint, tslib or typescript.

@vdeantoni
Copy link

I'm getting a different TypeError, when updating @angular/material from 5.2.5

TypeError: directiveMetadata.properties is not iterable

are there any known workarounds?

@yogeshgadge
Copy link
Author

After some debugging I noticed there are coming from the material schematic templates themselves. schematics/update/files.

However my mixinTabs are giving tslint errors.

@amcdnl
Copy link
Contributor

amcdnl commented Jul 15, 2018

@yogeshgadge

step does not remove the temporary folders/it removes only the file

This is fixed on latest.

You have to update ng update @angular/cdk --to 6.2.0 too

Yes, the CDK and Material must always be aligned.

After some debugging I noticed there are coming from the material schematic templates themselves. schematics/update/files.

Can you give anymore specifics?

However my mixinTabs are giving tslint errors.

You should exclude node_modules from your lint step.

I'm getting a different TypeError, when updating @angular/material from 5.2.5

@deantoni what typescript version are you on?

@amcdnl amcdnl added the needs: clarification The issue does not contain enough information for the team to determine if it is a real bug label Jul 15, 2018
@yogeshgadge
Copy link
Author

Can you give anymore specifics?

TypeError: Cannot read property 'forEachChild' of undefined
    at CheckImportMiscWalker.visitImportDeclaration (C:\Users\SOMEUSER\projs\github\my-ngx6\angular_material_schematics-R3oc5k\update\rules\checkImportMiscRule.js:19:52)
    at 

@yogeshgadge
Copy link
Author

You should exclude node_modules from your lint step.
Where should I remove node_modules from and who added node_modules? I mean the steps involved uses a fresh cli 6 project.

@amcdnl
Copy link
Contributor

amcdnl commented Jul 15, 2018

What typescript version are you on? That looks like a typescript parser issue.

@yogeshgadge
Copy link
Author

Described in the ticket. 2.7.2
But I did not choose that version.
Ng update choose that version.

@devversion devversion added P2 The issue is important to a large percentage of users, with a workaround and removed needs: clarification The issue does not contain enough information for the team to determine if it is a real bug labels Aug 27, 2018
@devversion devversion assigned devversion and unassigned amcdnl Aug 27, 2018
devversion added a commit to devversion/material2 that referenced this issue Aug 28, 2018
Currently if someone uses a namespace import or an import without named bindings in an Angular application, the `ng-update` schematics from Angular Material will fail due to missing safety checks before casting.

Fixes angular#11571
jelbourn pushed a commit that referenced this issue Aug 28, 2018
…ed (#12866)

Currently if someone uses a namespace import or an import without named bindings in an Angular application, the `ng-update` schematics from Angular Material will fail due to missing safety checks before casting.

Fixes #11571
devversion added a commit to devversion/material2 that referenced this issue Sep 5, 2018
…ed (angular#12866)

Currently if someone uses a namespace import or an import without named bindings in an Angular application, the `ng-update` schematics from Angular Material will fail due to missing safety checks before casting.

Fixes angular#11571
jelbourn pushed a commit that referenced this issue Sep 5, 2018
…ed (#12866) (#12984)

Currently if someone uses a namespace import or an import without named bindings in an Angular application, the `ng-update` schematics from Angular Material will fail due to missing safety checks before casting.

Fixes #11571
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P2 The issue is important to a large percentage of users, with a workaround
Projects
None yet
5 participants