GJS component fails with "undefined helper" error when shown via modal service (Discourse 3.5.0

Thanks for the repo, it helped!
I found your issue. It’s not about the StartRatInput component, it’s actually because you import eq from the wrong path.

It fails here:

checked={{eq this.testRating ratingValue}}

And you need to change the import:

import { eq } from "@ember/helper";

import { eq } from "truth-helpers";

Result: