You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
console_warning is the only signal for a GSAP selector that matches nothing, and the message omits the selector #5687
console_warning is the only signal for a GSAP selector that matches nothing — and the message omits the selector
Two related requests about hyperframes check, filed separately from the audio-dimension gap (#2775 already covers that one). This comes from a 42s general-video run on Windows. Root theme: check reports success for deliverables that are broken in ways it does model — but at a severity that does not gate.
Verified against 0.8.155 and 0.8.159.
Observed
A gsap.fromTo('[data-part="reco-title"]', …) was authored against an element that had class="reco-title" but no data-part attribute. The selector resolved to zero elements. The only report was:
⚠ console_warning: GSAP target not found. https://gsap.com
Note the double space — the selector name is empty in the message, so the warning does not say which target was missing. It is a warning, not an error, so check still reported Check passed, and the dead animation survived several build/verify cycles before being noticed.
Why this matters more than it looks
An animation targeting nothing is a silent partial failure: the composition renders, every other element animates, and one beat simply never happens. There is no visual smoking gun in a contact sheet unless you already know that beat was supposed to move.
Requests
Include the selector text in the message when it is available. Warning text GSAP target not found with an empty name is not actionable.
Offer a way to escalate.check already has --strict; consider whether console_warning for a non-resolving selector should be an error under --strict, since it is deterministic (the DOM is known at check time) and never intentional.
Optionally, a dedicated rule code (e.g. gsap_target_not_found) rather than folding it into generic console_warning — that would let projects escalate it selectively. In this workspace, across 59 accumulated check reports, console_warning fired 45 times while the busiest rule (canvas_overflow) fired 388 — so console_warning is a low-frequency catch-all that nonetheless carried the only signal for a completely dead animation.
For the run that produced this case, a 34s–42s single-file general-video with 3 sub-compositions and 6 audio segments, every other check dimension passed: 0 error(s), 0 warning(s), 318/318 text checks pass WCAG AA.
Environment
Windows 11 · hyperframes 0.8.155 (also present on 0.8.159) · Node v22.14.0
Reproduced on 0.8.193 with a GSAP fromTo('[data-part="reco-title"]', ...) inside a sub-composition against an element that only has class="reco-title": check prints console_warning: GSAP target not found with no selector and still passes. The selector goes missing because, inside a sub-composition, HyperFrames resolves string targets to the composition's own elements before GSAP sees them, so GSAP only ever receives an empty list.
Request 1 is covered by #5839, which keeps the original selector text in the warning (GSAP target [data-part="reco-title"] not found). It's approved and passing CI. Requests 2 and 3 (failing under --strict, or a dedicated rule code) aren't in that PR, and we'd treat them as a separate feature decision.
#5839 is now merged, so the warning names the selector that matched nothing, for example GSAP target [data-part="reco-title"] not found. It ships in the next release. Making this fail under --strict, or giving it its own rule code, is a separate decision. If you'd like that, please open a feature request for it. Closing this one as fixed. Thanks for the clear write-up!
Activity
jekyll541 commentedon Oct 16, 2026
DocuAngel still not following
jekyll541 commentedon Oct 16, 2026
DocuAngel And still not following
fix(core): name the selector when a scoped GSAP target matches nothing
fix(core): name the selector when a scoped GSAP target matches nothing
miguel-heygen commentedon Oct 24, 2026
Thanks for the clear write-up.
Reproduced on 0.8.193 with a GSAP
fromTo('[data-part="reco-title"]', ...)inside a sub-composition against an element that only hasclass="reco-title":checkprintsconsole_warning: GSAP target not foundwith no selector and still passes. The selector goes missing because, inside a sub-composition, HyperFrames resolves string targets to the composition's own elements before GSAP sees them, so GSAP only ever receives an empty list.Request 1 is covered by #5839, which keeps the original selector text in the warning (
GSAP target [data-part="reco-title"] not found). It's approved and passing CI. Requests 2 and 3 (failing under--strict, or a dedicated rule code) aren't in that PR, and we'd treat them as a separate feature decision.fix(core): name the selector when a scoped GSAP target matches nothing (
jrusso1020 commentedon Oct 25, 2026
#5839 is now merged, so the warning names the selector that matched nothing, for example
GSAP target [data-part="reco-title"] not found. It ships in the next release. Making this fail under--strict, or giving it its own rule code, is a separate decision. If you'd like that, please open a feature request for it. Closing this one as fixed. Thanks for the clear write-up!