Angular ng build --prod WARNING in Invalid property name 'r'
See original GitHub issueWhen i build my project:
ng build --prod
WARNING in Invalid property name 'r' at 5484:4. Ignoring.
I find that the problem it is in L.Control.Locate.css
@keyframes leaflet-control-locate-throb {
0% {
r: 9;
stroke-width: 1;
}
50% {
r: 7;
stroke-width: 3;
}
100% {
r: 9;
stroke-width: 1;
}
}
As per the SVG 1.1 specification you can’t style the r attribute of an SVG circle using CSS https://www.w3.org/TR/SVG/styling.html#SVGStylingProperties
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Warning in invalid property name when AOT compiling an ...
The warning comes from a third party component I use in the app. If I don't use it, the compilation ends without any...
Read more >angular/angular - Gitter
Ignoring. WARNING in Invalid property name 'r' at 2287:4. Ignoring. what is "warning in invalid property name 'r'. ng build --prod. oh i...
Read more >[warning] expected identifier but found * [css-syntax-error]
When creating production build (Angular 13.2.0), a warning appears: Warning: △ [WARNING] Expected identifier but found "*" styles.dab7755014ab7e5f.css:207:2 ...
Read more >Currently using the default Angular 7 […] - Discussion on Color ...
After updating all the required components, when I run 'npm run build' I get this error: WARNING in Invalid property name 'r' at...
Read more >FormControlName - Angular
Syncs a FormControl in an existing FormGroup to a form control element by name. See alsolink · Reactive Forms Guide · FormControl ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The W3C CSS Validator classifies this as an error: http://jigsaw.w3.org/css-validator/validator?uri=https%3A%2F%2Fwww.domoritz.de%2Fleaflet-locatecontrol%2Fdemo%2F&profile=css3svg&usermedium=all&warning=1&vextwarning=&lang=en
@hari-chalise I don’t see how your problem is related to this closed issue. It seems to me that it has something to do with Font Awesome, so please open a new issue and provide some more information like about which version of Font Awesome you are using 🙂