App-Shell/Ivy: Cannot read property 'moduleType' of undefined
See original GitHub issueπ bug report
Affected Package
ng run project-name:app-shell
ng run project-name:app-shell:production
Is this a regression?
This has never worked for me anytime I have tried to enable Ivy.
Description
When generating a new Angular application with --enableIvy and adding the app shell, the application fails to load.
- This occurs for both
devandprodbuilds. - This goes away if building a project without
--enableIvy.
π¬ Minimal Reproduction
ng new repro-app --enableIvy --routing --style=scss
ng generate app-shell --client-project repro-app --universal-project server-app
ng run repro-app:app-shell
https://github.com/EigenTheory/repro-app/
π₯ Exception or Error
Cannot read property 'moduleType' of undefined

π Your Environment
Angular Version:

Anything else relevant?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@EigenTheory,
enableIvyflag is not longer provided withng newcommand as now Ivy is the default.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.