[Angular] postinstall ngcc does not work
See original GitHub issueCurrent Behavior
Running the postinstall script from the default project created with npx create-nx-workspace does nothing. I tested this in a ng new project and there it works. I am using pnpm as my package manager.
Expected Behavior
Running ngcc like in a basic Angular project create with ng new
Steps to Reproduce
npx create-nx-workspace
Failure Logs
No failures
Environment
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Running ngcc in postinstall. Angular CLI should not ... - GitHub
my point is that if files are pre-generated shouldn't ngcc not run at all? Neither ngcc nor the CLI are in a position...
Read more >What are the reasons for adding angular postinstall "ngcc ...
Actually, ngcc's job isn't package validation. It takes non-Ivy libraries and generates files which Ivy understands.
Read more >Angular 9: ngcc in postinstall script... : r/Angular2 - Reddit
I just finished upgrading from Angular 8 to Angular 9. ... The postinstall script you added is not manually run, it automatically runs...
Read more >Fails to build with NGCC | Angular - EJ 2 Forums | Syncfusion
I'm getting errors at runtime if I ignore ngcc build with the date time picker. If I do a postinstall ngcc I get...
Read more >Angular Ivy
Ivy is the code name for Angular's next-generation compilation and rendering pipeline. With the version 9 release of Angular, the new compiler and...
Read more >
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

The next feature release of Nx (13.2) should include angular 13 support, which eliminates the need for ngcc. I’m going to close this since we are tracking angular 13 support with PR #7161
ok, however i’d suggest you reopen the bug, because it seems like nx angular is not 100% compatible with pnpm and should not be an option then