Skip to content
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: Generating index html...2 rules skipped due to selector errors #20839

Closed
1 task done
mlc-mlapis opened this issue May 18, 2021 · 3 comments
Closed
1 task done
Labels
needs: repro steps We cannot reproduce the issue with the information given

Comments

@mlc-mlapis
Copy link

🐞 Bug report

Command (mark with an x)

  • build

Is this a regression?

Yes, the previous version in which this bug was not present was: 11.2.3

Description

After upgrade to Angular 12 and CLI 12 the following warning appeared:

βœ” Browser application bundle generation complete.
βœ” Copying assets complete.
β ‹ Generating index html...2 rules skipped due to selector errors:
0 @@ .ui-grid -> Unmatched selector: @@ .ui-grid
βœ” Index html generation complete.

πŸ”¬ Minimal Reproduction

It's unclear if it's possible to reproduce this behavior on a simple project.
Maybe related to #20031?

🌍 Your Environment


Angular CLI: 12.0.0
Nx CLI: 12.3.3
Node: 14.17.0
Package Manager: npm 6.14.13
OS: win32 x64

Angular: 12.0.0
... animations, cdk, cli, common, compiler, compiler-cli, core
... elements, forms, language-service, platform-browser
... platform-browser-dynamic, router

Package                          Version
----------------------------------------------------------
@angular-devkit/architect        0.1200.0
@angular-devkit/architect-cli    0.1200.0
@angular-devkit/build-angular    12.0.0
@angular-devkit/core             12.0.0
@angular-devkit/schematics       12.0.0
@angular-devkit/schematics-cli   12.0.0
@schematics/angular              12.0.0
rxjs                             6.6.7
typescript                       4.2.4
@alan-agius4
Copy link
Collaborator

@mlc-mlapis, it appears something related to ui-grid, can you try to setup a minimal project using ui-grid and see if that reproduces the problem?

You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.

@alan-agius4 alan-agius4 added the needs: repro steps We cannot reproduce the issue with the information given label May 19, 2021
@mlc-mlapis
Copy link
Author

@alan-agius4 Thanks. After a deeper exploration, we found some problems in the dependency package PrimeNG and its styles. After removing it, the warning disappeared.

@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 Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: repro steps We cannot reproduce the issue with the information given
Projects
None yet
Development

No branches or pull requests

2 participants