I just started Kibana in development mode . It works.
I then created a plugin using plugin generator. When running kibana after that, it gives an error in the browser
Refused to execute script from 'http://ip/bundles/plugin/dataDemo/1.0.0/dataDemo.plugin.js' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.