[OpenCV.js] Cannot use the TrackerKCF update function

Hi there,
I’ve built OpenCV.js from OpenCV and opencv-contrib. I can initialize a tracker using new cv.TrackerKCF, but I’m encountering issues when updating the tracker. It shows an error like in image. Has anyone tried this? Can you offer any suggestions? Any help is appreciated.
Unknown