public function onCollectJsFiles(\Enlight_Event_EventArgs $args)
{
// empty
}
The problem goes even so far, that the empty function and the subscriber creates the error on compile.
But i found a way now to fix it.
I removed the subscriber for the js and use the auto include from shopware by placing it in the dir
<plugin_dir>/Resources/frontend/js/
Now the Error is gone and the js is back on the page. At least i have not found new errors
Still thank you and i hope this helps others that may get the same issue.