Hello,
I don’t know why I can’t build the exact same game few days after.
I got this error with Cocos Creator 3.8.1
I tried to clean the library and the temp folder but I got the same problem.
ALL other projects can be builded.
If I build the exact same project by duplicated the folder on other computer it’s working.
The only solution is to uninstall and reinstall the Cocos Creator editor.