Cocos Creator 3.7.1 Error
[Scene] Each script can have at most one Component.
I searched through all my code and couldn't find the cause of the error.
Finally, I discovered that
I had written two @ccclass annotations in one of my components.
This led to the appearance of two Components.