[BUG] SCHEMATIC error
ms-emp opened this issue · comments
Is there an existing issue for this?
- I have searched the existing issues
Library version
latest
Description
I'm getting an error registry.flatten is not a function
when using ng add @badisi/ngx-auth
Steps to reproduce
No response
Environment
- OS Name: Windows
- System Model Name:
- npm:
- Node.js:
Can you please provide the result of the following command : ng version
?
Thanks
Angular CLI: 16.1.5
Node: 16.19.0
Package Manager: npm 9.6.7
OS: win32 x64
Angular: 16.1.6
There are breaking changes with Angular 16+
.
You can use the latest alpha release which should solve your problem:
ng add @badisi/ngx-auth@3.0.0-alpha.1
This version is also fully Ivy compliant (no more ViewEngine), which should improve your application build process.
Thanks so much. It's an awesome library.
🎉 Released in @badisi/ngx-auth@3.0.0 📦🚀
Pay attention that standalone application is not yet supported, so the schematic
will currently works only on legacy app.