check the plugin dependences, as descirbed in docs - if the plugin requires some additional tinyMCE scripts like for popups - it should be also bundled with your plugin and imports should be corrected.