question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue: How to resolve warnings in angular-cli?

See original GitHub issue

Hello, This is a question and I need your assistance, please. I am publishing an application with angular-cli to be able to host it on a web server. However, I am getting warnings after the package is generated.

WARNING in Empty property 'top' at 38528:2. Ignoring.

Can you guide me on where to search to try to find this warning?

See details below:

ng build --prod --aot Date: 2018-04-14T16:43:39.496Z Hash: 2f4b4864e5fc06f19a78 Time: 29637ms chunk {scripts} scripts.6a3664adfa303ed2dcb2.bundle.js (scripts) 1.58 MB [initial] [rendered] chunk {0} 0.09154b285423265e2524.chunk.js (common) 378 kB [rendered] chunk {1} 1.1f5e8eaa29da0635c303.chunk.js () 4.01 kB [rendered] chunk {2} 2.8ad14273acdb738cda55.chunk.js () 96.1 kB [rendered] chunk {3} main.a64634c8f4ce92fcfb5a.bundle.js (main) 779 kB [initial] [rendered] chunk {4} polyfills.a5214ab831fec809b225.bundle.js (polyfills) 59.4 kB [initial] [rendered] chunk {5} styles.57c1b3dde10b6adf85c2.bundle.css (styles) 1.48 MB [initial] [rendered] chunk {6} inline.a1e76fba20a162a90f22.bundle.js (inline) 1.45 kB [entry] [rendered]

WARNING in Empty property ‘top’ at 38528:2. Ignoring.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:10

github_iconTop GitHub Comments

10reactions
gmaganacommented, Aug 25, 2018

Please reopen, or at least give us a hint…

WARNING in Empty property 'color' at 12401:2. Ignoring.

How des one even begin to diagnose and fix this?

3reactions
fhurtacommented, Aug 13, 2018

Why the issue is closed? I upgraded to latest cli 6.1.3 and the behavior has not changed. Although it is problem in (possibly) external css, if the css reports a warning, it should add some info about the source of the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular CLI change build warnings to errors - Stack Overflow
1. You can check for code without warnings in a CI process, e.g. GitHub actions. It is a good idea to tackle warnings...
Read more >
To disable this warning use "ng config -g cli ... - You.com
Your global Angular CLI version is greater than your local version. To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Read more >
Angular compiler options
When false , constructor parameters of classes marked with @Injectable whose type cannot be resolved produce a warning. The recommended value is true...
Read more >
Angular MDBA 4.3.1 showing circular dependency warning
Hi I am getting below warnings while running ng build using cli 1.3.1,Angular 4.2.1 ... Topic: Angular MDBA 4.3.1 showing circular dependency warning....
Read more >
Identify and Fix Build and Deployment Errors in Your Angular ...
Ensure that you have installed the Angular CLI globally on your machine via npm install -g @angular/cli · Ensure that you are located...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found