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

perf config fails: Error: aggregations: unused-css-rules audit does not contain expectedValue or weight properties #1775

Closed
tommycli opened this issue Feb 24, 2017 · 2 comments

Comments

@tommycli
Copy link
Contributor

Running:
lighthouse --perf http://google.com yields the below error.

Running just:
lighthouse http://google.com without the perf config works fine.

Runtime error encountered: Error: aggregations: unused-css-rules audit does not contain expectedValue or weight properties
at Function._convertToWeight (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/aggregator/aggregate.js:77:13)
at expectedNames.forEach.e (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/aggregator/aggregate.js:176:35)
at Array.forEach (native)
at items.map.item (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/aggregator/aggregate.js:169:21)
at Array.map (native)
at Function.compare (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/aggregator/aggregate.js:153:18)
at Function.aggregate (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/aggregator/aggregate.js:209:29)
at config.aggregations.map.a (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/runner.js:134:28)
at Array.map (native)
at run.then.runResults (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/runner.js:133:46)
Error: aggregations: unused-css-rules audit does not contain expectedValue or weight properties
at Function._convertToWeight (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/aggregator/aggregate.js:77:13)
at expectedNames.forEach.e (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/aggregator/aggregate.js:176:35)
at Array.forEach (native)
at items.map.item (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/aggregator/aggregate.js:169:21)
at Array.map (native)
at Function.compare (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/aggregator/aggregate.js:153:18)
at Function.aggregate (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/aggregator/aggregate.js:209:29)
at config.aggregations.map.a (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/runner.js:134:28)
at Array.map (native)
at run.then.runResults (/usr/local/google/home/tommycli/local/lib/node_modules/lighthouse/lighthouse-core/runner.js:133:46)

@paulirish
Copy link
Member

Thanks. This will be fixed when #1724 lands.

Which will be any second now...

@paulirish
Copy link
Member

fixed by #1724

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants