Angular throws :host-context([dir=rtl]) .ion-float-start -> unmatched pseudo-class :host-context Warning, with multiple projects in one angular.json

Viewed 1426

I have an Angular Project which is used for 2 web apps with different backends. The Frontend is the same. Since I added the second project to the angular.json I am getting these Warnings:

Warning: 10 rules skipped due to selector errors:
  :host-context([dir=rtl]) .ion-float-start -> unmatched pseudo-class :host-context
  :host-context([dir=rtl]) .ion-float-end -> unmatched pseudo-class :host-context
  :host-context([dir=rtl]) .ion-float-sm-start -> unmatched pseudo-class :host-context
  :host-context([dir=rtl]) .ion-float-sm-end -> unmatched pseudo-class :host-context
  :host-context([dir=rtl]) .ion-float-md-start -> unmatched pseudo-class :host-context
  :host-context([dir=rtl]) .ion-float-md-end -> unmatched pseudo-class :host-context
  :host-context([dir=rtl]) .ion-float-lg-start -> unmatched pseudo-class :host-context
  :host-context([dir=rtl]) .ion-float-lg-end -> unmatched pseudo-class :host-context
  :host-context([dir=rtl]) .ion-float-xl-start -> unmatched pseudo-class :host-context
  :host-context([dir=rtl]) .ion-float-xl-end -> unmatched pseudo-class :host-context

The only differences in the second project are some scss files and the environment.ts. I have no clue what these warnings mean and where they come from. Google didn't offer any solutions. Does anyone know how to fix this?

Angular, Ionic and node are up to date.

Update: Looks like Ionic is the reason for this warning. https://github.com/ionic-team/ionic-framework/issues/23298#issuecomment-840598080 And I think can be ignored.

0 Answers
Related