Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

Due to incorrect castings previously the code would crash when the module doesn't contain an routing module with the following error:

Cannot read property 'properties' of undefined

Closes #21397

@alan-agius4 alan-agius4 added the target: patch This PR is targeted for the next patch release label Apr 1, 2022
…ng declaration cannot be found

Due to incorrect castings previously the code would crash when the module doesn't contain an routing module with the following error:

```
Cannot read property 'properties' of undefined
```

Closes #21397
@alan-agius4 alan-agius4 requested a review from clydin April 1, 2022 13:22
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Apr 1, 2022
@clydin clydin merged commit 7db433b into angular:master Apr 4, 2022
@alan-agius4 alan-agius4 deleted the ast-error-fix branch April 4, 2022 14:05
@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 May 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot read property 'properties' of undefined when adding a lazy loaded module with ng generate

2 participants