question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New Angular Material schematics directory appears in project's root folder

See original GitHub issue

Bug, feature request, or proposal:

Bug

What is the expected behavior?

There seems to be a new Angular Material schematics directory in my project’s root folder after updating to 6.0.0. This directory shouldn’t exist.

What is the current behavior?

The directory exists after updating.

Note the angular_material_schematics_cDdroP directory in the output of ls: screen shot 2018-05-07 at 18 07 24

What are the steps to reproduce?

  1. Have an existing project.
  2. Update that project to 6.0.0.

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

NIL

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

  • Angular 6
  • Angular Material 6
  • All operating systems
  • TypeScript 2.7.2
  • All browsers

Is there anything else we should know?

P.S. The directory seems to be ignored when entering git status… P.P.S. Someone else also asked the same thing about this on StackOverflow: https://stackoverflow.com/questions/50178633/angular-material-schematics-folder-after-upgrade-to-angular-6

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:16
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

14reactions
EdricChan03commented, May 16, 2018

@julianobrasil Just tried what you suggested in updating my other app to Angular v6, but I still encountered the error, even after updating the global and local Angular CLI to 6.0.1.

While updating, I encountered this error after the Angular CLI logged when adding the Angular Material schematics folder:

TypeError: directiveMetadata.properties is not iterable
    at SwitchStylesheetAtributeSelectorsWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchStylesheetAtributeSelectorsWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchStylesheetAtributeSelectorsWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchStylesheetAtributeSelectorsWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchStylesheetAtributeSelectorsWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchStylesheetCssNamesWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchStylesheetCssNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchStylesheetCssNamesWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchStylesheetCssNamesWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchStylesheetCssNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchStylesheetElementSelectorsWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchStylesheetElementSelectorsWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchStylesheetElementSelectorsWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchStylesheetElementSelectorsWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchStylesheetElementSelectorsWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchStylesheetInputNamesWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchStylesheetInputNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchStylesheetInputNamesWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchStylesheetInputNamesWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchStylesheetInputNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchStylesheetOutputNamesWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchStylesheetOutputNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchStylesheetOutputNamesWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchStylesheetOutputNamesWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchStylesheetOutputNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateAttributeSelectorsWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchTemplateAttributeSelectorsWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchTemplateAttributeSelectorsWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchTemplateAttributeSelectorsWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchTemplateAttributeSelectorsWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateCaaNamesWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchTemplateCaaNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchTemplateCaaNamesWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchTemplateCaaNamesWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchTemplateCaaNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateElementSelectorsWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchTemplateElementSelectorsWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchTemplateElementSelectorsWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchTemplateElementSelectorsWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchTemplateElementSelectorsWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateExportAsNamesWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchTemplateExportAsNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchTemplateExportAsNamesWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchTemplateExportAsNamesWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchTemplateExportAsNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateInputNamesWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchTemplateInputNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchTemplateInputNamesWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchTemplateInputNamesWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchTemplateInputNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateOutputNamesWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchTemplateOutputNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchTemplateOutputNamesWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchTemplateOutputNamesWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchTemplateOutputNamesWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'flags' of undefined
    at Object.getBaseTypes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:28740:38)
    at CheckInheritanceWalker.visitClassDeclaration (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/rules/checkInheritanceRule.js:20:49)
    at CheckInheritanceWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:314:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13479:24)
    at CheckInheritanceWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at CheckInheritanceWalker.SyntaxWalker.visitSourceFile (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:228:14)
    at CheckInheritanceWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:482:22)
    at CheckInheritanceWalker.SyntaxWalker.walk (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:24:14)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at CheckTemplateMiscWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at CheckTemplateMiscWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at CheckTemplateMiscWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at CheckTemplateMiscWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at CheckTemplateMiscWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchStylesheetAtributeSelectorsWalker._visitDirectiveCallExpression (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:40:50)
    at SwitchStylesheetAtributeSelectorsWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:30:22)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchStylesheetAtributeSelectorsWalker.SyntaxWalker.walkChildren (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchStylesheetAtributeSelectorsWalker.SyntaxWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchStylesheetAtributeSelectorsWalker.visitNode (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/angular_material_schematics-YOsO24/update/tslint/component-walker.js:33:15)
    at /Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/edricchan/Desktop/Projects/rss-reader/rss-reader-web/node_modules/typescript/lib/typescript.js:13272:30)

EDIT: Here’s a full log: https://gist.github.com/Chan4077/ef7e19d7fedb5acd6930a29078205103

Here’s the result from ls -hFl:

$ ls -hFl
total 1048
-rw-r--r--    1 edricchan  staff   1.0K Oct 22  2017 LICENSE
-rw-r--r--    1 edricchan  staff   709B Dec 12 12:05 README.md
-rw-r--r--    1 edricchan  staff   4.4K May 13 00:33 angular.json
drwx------    8 edricchan  staff   256B May 13 00:39 angular_material_schematics-YOsO24/
drwxr-xr-x@   5 edricchan  staff   160B Oct 19  2017 docs/
drwxr-xr-x    5 edricchan  staff   160B Jul 27  2017 e2e/
-rw-r--r--    1 edricchan  staff   835B Nov  3  2017 gulpfile.js
-rw-r--r--    1 edricchan  staff   1.2K May 13 00:33 karma.conf.js
drwxr-xr-x  892 edricchan  staff    28K May 13 00:41 node_modules/
-rw-r--r--    1 edricchan  staff   481K May 13 00:41 package-lock.json
-rw-r--r--    1 edricchan  staff   2.2K May 13 00:41 package.json
-rw-r--r--    1 edricchan  staff   796B Jul 27  2017 protractor.conf.js
drwxr-xr-x    2 edricchan  staff    64B Oct 19  2017 scripts/
drwxr-xr-x   17 edricchan  staff   544B Mar 19 10:10 src/
drwxr-xr-x    4 edricchan  staff   128B Nov 12 19:26 tools/
-rw-r--r--    1 edricchan  staff   384B Jul 27  2017 tsconfig.json
-rw-r--r--    1 edricchan  staff   2.2K May 13 00:33 tslint.json
9reactions
probert94commented, May 14, 2018

I am facing the same issue as @Chan4077 For the update, I followed the steps provided here.

After updating the CLI (v6.0.1) and Angular Core, I executed ng update @angular/material. This first updates @angular/material and @angular/cdk to version 6.0.1. Then it creates all the schematics. After that, I get a lot of errors (TypeError: directiveMetadata.properties is not iterable) and the command seems to get stuck. I guess, thats why the schematics are not cleaned up, as the command does not finish it’s execution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Schematics - Angular Material
The tree schematic can be used to quickly generate an Angular component that uses the Angular Material <mat-tree> component to visualize a nested...
Read more >
How to access Angular project folder from a custom Angular ...
That being said, here's one way to do it - read in angular.json in your schematic and pull out the sourceRoot attribute for...
Read more >
Total Guide To Custom Angular Schematics | by Tomas Trajan
1. Create project. Let's generate new schematics project using schematics blank hello . What we will get is a folder with the following...
Read more >
Use Angular Schematics to Simplify Your Life | Okta Developer
In short, it provides an API that allows you to manipulate files and add new dependencies in Angular projects.
Read more >
Creating Beautiful Apps with Angular Material - Auth0
create a new Angular project under angular-material-tutorial ng new ... command will move your terminal into the project root directory.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found