Plugin generator generates a plugin that causes an error


I am trying to create a plugin for the latest version of Kibana [8.6]. I have used the plugin generator for this purpose. Unfortunately, after generating the plug-in and starting the server, I see this error:

Elastic did not load properly. Check the server output for more information.

In the Chrome console, I see only this error:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXi3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.

Has anyone encountered a similar error? How do you fix it?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.

This problem will be solved once the following PR gets merged fix(NA): external plugins development flow with the new modern package plugins in place by mistic · Pull Request #153562 · elastic/kibana · GitHub

Thanks for reporting it.