How to load spine skeleton data from a bundle?

How to load spine skeleton data from a bundle?
I have tried using this:

bundle.load<sp.SkeletonData>(path, (err, skeletonData) => {
    if (err) return;
    
    this.skeleton.skeletonData = skeletonData;
});

But it always error.

refer to this doc:https://docs.cocos.com/creator/manual/en/asset/spine.html?h=spine