Hi guys, I've been having trouble generating Kibana plugins that work with Kibana versions 7.7.0/7.7.1.
Here are the steps I've used to generate my plugins:
- Clone the kibana github repo
 - Run 
git checkout 7.7 - Run 
yarn kbn bootstrap - Run 
node scripts/generate_plugin.js [my_plugin_name](choose the correct version etc.) - I copy the generated plugin and move it to the plugin folder of my Kibana version 7.7.0/7.7.1 (i've tried both)
 - I then delete the 
optimizefolder and run kibana using./kibanain the bin folder. 
These same steps have worked for me when I was working with kibana 7.6 versions. But for the 7.7 versions I get the following error when I start kibana in my browser:

What am I doing wrong? Is this an issue with what i'm doing or is it an issue with Kibana? If someone can run through these steps and let me know that would be great.