salemdar / ngx-cookie

Implementation of Angular 1.x $cookies service to Angular 2
MIT License
318 stars 68 forks source link

Angular cli 15 version bug #606

Open fdogan0 opened 1 year ago

fdogan0 commented 1 year ago

├── @angular/cli@15.0.4 └── npm@9.2.0

"@angular/animations": "^13.3.8", "@angular/cdk": "^13.3.7", "@angular/common": "~13.3.8", "@angular/compiler": "~13.3.8", "@angular/core": "~13.3.8"

This application depends upon a library published using Angular version 14.0.4, which requires Angular version 14.0.0 or newer to work correctly. Consider upgrading your application to use a more recent version of Angular.

315 | CookieModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.4", ngImport: i0, type: CookieModule });

How to fix this problem?

lawcha commented 8 months ago

Downgrade the version you're using to version 5 (compatible with Angular 13) or upgrade your Angular project to v14 (as written in your pasted text).