Trouble remove EE in source code Rocket Chat

Hi guys, I’m trying to self-host Rocket Chat and I have to remove Enterprise Edition from Rocket Chat’s source code to avoid licensing issues, I run the fossity.ts file in the scripts folder to do this, however after running the Script, when I run the Yarn command, it gives an error, is there any way to fix this error? Thank you very much!!!

Replied here

https://open.rocket.chat/channel/support?msg=q2Ko93XC3vrR7ipwa