We either need to remove our use of babel/register, or come up with a different solution for the Canvas template, assuming it's required.
[BABEL] Note: The code generator has deoptimised the styling of /usr/share/kibana/x-pack/plugins/canvas/server/templates/pitch_presentation.js as it exceeds the max of 500KB.
Pinging @elastic/kibana-canvas (Team:Canvas)
Pinging @elastic/kibana-operations (Team:Operations)
@crob611 Can you weigh in on this, particularly with our plans to move templates to Saved Object?
@tylersmalley What would be the best option in the short term?
thoughts on silencing? minimal changeset for freeze, haven't tested tho
{
"env": {
"production" : {
"compact": false
}
}
}
I also met this error when kibana start although I have config "xpack.canvas.enabled: false" in kibana.yml
This is fixed in 7.10 by https://github.com/elastic/kibana/pull/79379. @like-inspur unfortunately we still load the code for the canvas plugin so that we can detect it's config schema, even though you disabled canvas we still were passing it through babel in production, but not anymore once 7.10 is released!
@spalger Hi! when it will happen? In docker hub there is only 7.9.3 and I go this issue
@spalger Hi! when it will happen? In docker hub there is only 7.9.3 and I go this issue
I am having the same error in the same version as well
Most helpful comment
@spalger Hi! when it will happen? In docker hub there is only 7.9.3 and I go this issue