Installation of custom plugin into docker image yielding mime type error - 8.15.1 #194336
Labels
bug
Fixes for quality problems that affect the customer experience
Team:Operations
Team label for Operations Team
Kibana version:
8.15.1
Elasticsearch version:
8.15.1
Describe the bug:
When developing locally, if you create a new plugin with node scripts/generate_plugin.js, and then start, you will get a mime type error described in #169719. this issue can be resolved when developing locally by running yarn dev --watch in your plugin root folder before starting kibana.
I'm getting the same error when trying to install a plugin onto the kibana docker image, but don't know how to cope with it in this context.
Steps to reproduce:
Expected behavior/Screenshots:
Browser console error:
The resource from "http://localhost:< port >/XXXXXXXXXX/bundles/plugin/< plugin name >/< plugin version >/< plugin name >.plugin.js was blocked due to MIME type ("application/json") mismatch (X-Content-Type-Options: nosniff)
The text was updated successfully, but these errors were encountered: