Can't generate new index.js for grapejs plgin

Your software
My Mautic version is: 4.4
My PHP version is: 8.03
My Database type and version is: mariadb

Your problem
My problem is: I have a copy paste bug and I want to test a fix that I have in place. But after running the necessary commands it is not generating the js with the new changes.

These errors are showing in the log: no error logs

Steps I have tried to fix the problem: I have tried running mautic:assets:generate and the usual cache clear commands.