-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected Warning: rules skipped due to selector errors (reference: #20839) #20906
Comments
Hi @erictor, The root cause seems to be a bug in Critters which doesn't handle properly the Therefore, can you please file an issue in their issue tracker? That being said, for performance reasons due to extra network hops and delay in initialising the blocking request. It is not recommended to use The recommended approach is to have this resource referenced in your |
@alan-agius4 1. Thank you for your advice re: import and performance issues with it -- I will immediately implement your advice in my SPA project. 2. Re Critters, can your project end up taking a dependency on it even if you aren't explicitly mentioning it in package.json? For example, am I possibly getting it due to specifying types/node 15.3.1 in my devDependencies? Also I wonder why the Warning started displaying when I updated my SPA project from Angular 11 to Angular 12.0.1. - maybe just improved diagnostics to Dev Tools. |
Critters is a dependency of
|
@alan-agius4 Thank you. That's very clear. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
A similar issue was reported 4 days ago, #20839, and has since been closed.
Environment:
Updated my Angular project from Angular 11 / Angular CLI 11 to Angular 12 / Angular CLI 12
Did this work in the previous version?
Yes.
Description:
In my styles.scss I have the following import as the first line:
Warning Text Displaying in Chrome Dev Tools:
I validated at fonts.google.com that the import is composed correctly. The error is specifically pointing after family=Roboto:ital,wght@0,100; to "0,300;" (and beyond).
The Warning displays upon initial view in browser and each time the browser is refreshed.
The text was updated successfully, but these errors were encountered: