Skip to content

alot of "@charset" after updating to Angular 13 #22109

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

Closed
neo-xy opened this issue Nov 7, 2021 · 2 comments
Closed

alot of "@charset" after updating to Angular 13 #22109

neo-xy opened this issue Nov 7, 2021 · 2 comments

Comments

@neo-xy
Copy link

neo-xy commented Nov 7, 2021

Which @angular/* package(s) are the source of the bug?

Don't known / other

Is this a regression?

No

Description

Getting alot of warnings like this while running ng serve:

Warning: > styles.css:236:0: warning: "@charset" must be the first rule in the file
236 │ @charset "UTF-8";
╵ ~~~~~~~~
styles.css:235:3486: note: This rule cannot come before a "@charset" rule
235 │ ...a-aos]{transition-duration:.55s}[data-aos][data-aos][data-aos-de...

  • I have <meta charset="utf-8"> in my index.html
    and I tryed putting @charset "UTF-8"; in my styles.css as well, did not help

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in

Angular CLI: 13.0.1
Node: 16.10.0
Package Manager: npm 7.24.0
OS: darwin x64

Angular: 13.0.0
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1300.1
@angular-devkit/build-angular   13.0.1
@angular-devkit/core            13.0.1
@angular-devkit/schematics      13.0.1
@angular/cdk                    12.2.12
@angular/cli                    13.0.1
@angular/fire                   7.1.1
@angular/google-maps            12.2.12
@schematics/angular             13.0.1
rxjs                            7.4.0
typescript                      4.4.4

Anything else?

No response

@JoostK JoostK transferred this issue from angular/angular Nov 7, 2021
@JoostK
Copy link
Member

JoostK commented Nov 7, 2021

Duplicate of #22097.

@JoostK JoostK closed this as completed Nov 7, 2021
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants