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

ng update @angular/material throw errors #11648

Closed
ofirrifo opened this issue Jun 4, 2018 · 3 comments
Closed

ng update @angular/material throw errors #11648

ofirrifo opened this issue Jun 4, 2018 · 3 comments
Labels
cannot reproduce The team is unable to reproduce this issue with the information provided

Comments

@ofirrifo
Copy link

ofirrifo commented Jun 4, 2018

Bug, feature request, or proposal:

BUG

What is the expected behavior?

  • execute: ng update @angular/material to pass successfully
  • in case of error let me now what should I do
  • indication in the update process that somthing happend
  • error summary

What is the current behavior?

execute: ng update @angular/material throw a lot of error

Example of the error

TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
    at SwitchTemplateInputNamesWalker._visitDirectiveCallExpression (/Users/ofirf/dev/management/mgmt-console/angular_material_schematics-gk3Pyw/update/tslint/component-walker.js:40:50)
    at SwitchTemplateInputNamesWalker.visitNode (/Users/ofirf/dev/management/mgmt-console/angular_material_schematics-gk3Pyw/update/tslint/component-walker.js:30:22)
    at /Users/ofirf/dev/management/mgmt-console/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNode (/Users/ofirf/dev/management/mgmt-console/node_modules/typescript/lib/typescript.js:13263:24)
    at Object.forEachChild (/Users/ofirf/dev/management/mgmt-console/node_modules/typescript/lib/typescript.js:13544:24)
    at SwitchTemplateInputNamesWalker.SyntaxWalker.walkChildren (/Users/ofirf/dev/management/mgmt-console/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:12)
    at SwitchTemplateInputNamesWalker.SyntaxWalker.visitNode (/Users/ofirf/dev/management/mgmt-console/node_modules/tslint/lib/language/walker/syntaxWalker.js:530:22)
    at SwitchTemplateInputNamesWalker.visitNode (/Users/ofirf/dev/management/mgmt-console/angular_material_schematics-gk3Pyw/update/tslint/component-walker.js:33:15)
    at /Users/ofirf/dev/management/mgmt-console/node_modules/tslint/lib/language/walker/syntaxWalker.js:535:63
    at visitNodes (/Users/ofirf/dev/management/mgmt-console/node_modules/typescript/lib/typescript.js:13272:30)

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

StackBlitz starter: https://goo.gl/wwnhMV

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

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

Angular V6.0.3
upgrade Material from V^5.2.5 to V^6.0.0
OS mac
typescript V2.7.2

Is there anything else we should know?

@andrewseguin andrewseguin assigned mmalerba and unassigned mmalerba Jun 7, 2018
@andrewseguin andrewseguin added the cannot reproduce The team is unable to reproduce this issue with the information provided label Jun 7, 2018
@andrewseguin
Copy link
Contributor

@ofirrifo Thanks for reporting the issue but unfortunately I cannot reproduce the issue

@mgol
Copy link
Member

mgol commented Jun 8, 2018

@andrewseguin I'm seeing it to as do other people. See #11571 for more details.

@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
cannot reproduce The team is unable to reproduce this issue with the information provided
Projects
None yet
Development

No branches or pull requests

4 participants