# Can't generate new index.js for grapejs plgin

**URL:** <https://forum.mautic.org/t/cant-generate-new-index-js-for-grapejs-plgin/30411>\
**Category:** Product Support\
**Created:** [January 9, 2024, 11:49am UTC](https://forum.mautic.org/t/cant-generate-new-index-js-for-grapejs-plgin/30411 "2024-01-09T11:49:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![astrylis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/astrylis/32/6421_2.png) [@astrylis](https://forum.mautic.org/u/astrylis)\
**Post date:** [January 9, 2024, 11:49am UTC](https://forum.mautic.org/t/cant-generate-new-index-js-for-grapejs-plgin/30411/1 "2024-01-09T11:49:18Z")

</div>

**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.
