Badisi / auth-js

🛡️ Authentication and authorization support for web based desktop and mobile applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] SCHEMATIC error

ms-emp opened this issue · comments

commented

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:
commented

Can you please provide the result of the following command : ng version ?
Thanks

commented

Angular CLI: 16.1.5
Node: 16.19.0
Package Manager: npm 9.6.7
OS: win32 x64

Angular: 16.1.6

commented

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.

commented

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.