martinroob / ngx-i18nsupport

Some tooling to be used for Angular i18n workflows
MIT License
283 stars 69 forks source link

Package "@ngx-i18nsupport/tooling" has an incompatible peer dependency to "@angular/core" /"@angular/common" when updating to angular 10.0.0 #167

Open laurapebe opened 4 years ago

laurapebe commented 4 years ago

I updated Angular to 10.0.0 version and the following conflict happened:

Fetching dependency metadata from registry...
                  Package "@ngx-i18nsupport/tooling" has an incompatible peer dependency to "@angular/core" (requires "^8.0.0" (extended), would install "10.0.0").
                  Package "@ngx-i18nsupport/tooling" has an incompatible peer dependency to "@angular/common" (requires "^8.0.0" (extended), would install "10.0.0").
× Migration failed: Incompatible peer dependencies found.
julkue commented 4 years ago

Same issue here @martinroob. Seems like it wasn't even updated for Angular 9?

julkue commented 4 years ago

It seems to be compatible with v10, so I think it's only necessary to perform the update...

ahmadalfy commented 4 years ago

Probably will have to go with the --force flag till it's updated

ahmadalfy commented 4 years ago

If everyone is interested, the --force flag works and the update doesn't break the package.

ahmadalfy commented 4 years ago

@martinroob would you be interested if I opened a PR to address this?

julkue commented 3 years ago

Since angular v11 is out now, it seems that it's finally incompatible.

An unhandled exception occurred: Cannot find module '@angular-devkit/architect'
SyntaxErrorOnLine1 commented 3 years ago

I have xliffmerge working in Angular 12.

Install: npm install -D @ngx-i18nsupport/tooling --legacy-peer-deps

Run: ng extract-i18n && ng run <project-name>:xliffmerge

Credit