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