Kibana plugin build and .local-chromium

Hi guys,

I've a problem with che kibana plugin build I did using plugin-helpers
In detail, when I run the build command I can see the zip file with all the plugin's file I need.
The only files are missing is the .local-chromium I have in :

../kibana/plugins/plugin_name/node_modules/puppeteer/.local-chromium

Actually I'm solving this running an yarn install after the plugin deploy.
Obviously this is only a workaround...

Someone can help me??

Thanks in advance,
Nicola

Hi @Nicolap

is the .local-chromium a symlink or a real file? because all symlink are removed from the zip file.

I've checked locally and we have the same dependency. .local-chromium is a folder, that is populated only after yarn install. I'm not sure why this is skipped by the plugin helper build command. Let me check with the Kibana Ops folks

1 Like

Thanks @markov00.
Let me know.

Ok so we have opened a PR to fix that: https://github.com/elastic/kibana/pull/68247/files
I think you can try to apply the patch locally to see if this will fix your actual problem and if so please feel free to add a comment on that PR

Thanks @markov00 !
I tryed the plugin helper build with the fix and It works as expected.

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