Gantt ยท console.warn
gantt: workload.external entry {i} has no re...
Printed by Gantt, prefixed [lattice], since 1.88.4.
Warnings reference › gantt.workloadExternal.*
- Identifier
gantt.workloadExternal.*- Raised by
- Gantt
- Since
- 1.88.4
What happened
A workload.external entry could not be booked: it was not an object, named no resource, or its start/end was missing or not a day-number, an ISO date string or a Date. The entry is skipped and the rest of the bookings and the plan draw normally.
The fix
Give each entry a resource and a start/end, as a day-number, an ISO YYYY-MM-DD string or a Date.
The smallest fix
mountSplit(el, { workload: { external: [{ resource: 'Ann', start: '2026-06-01', end: '2026-06-08', hours: 16, label: 'Project Phoenix' }] } });
Reference
Covered in full at the API reference.