dashboard ยท console.warn
createDashboard: spec {path} {problem}
Printed by dashboard, prefixed [lattice], since 1.77.0.
Warnings reference › dashboard:spec:*
- Identifier
dashboard:spec:*- Raised by
- dashboard
- Since
- 1.77.0
What happened
The validator found a problem in the spec that belongs to no single panel or link - an unknown top-level key, a source that is not usable, a layout window naming no panel - and reports it by path. Whatever the problem touches is left out; everything else was built.
The fix
Correct the spec at the path named; validateDashboardSpec(spec) lists every problem without building.
The smallest fix
validateDashboardSpec(spec).problems; // [{ path: 'sources.sales.rows', message: 'is not an array of rows' }]
Reference
Covered in full at the API reference.