# BABEL problem with x-pack

**URL:** <https://discuss.elastic.co/t/babel-problem-with-x-pack/169648>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [February 23, 2019, 6:10am UTC](https://discuss.elastic.co/t/babel-problem-with-x-pack/169648 "2019-02-23T06:10:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Behzad\_Rezaie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/behzad_rezaie/32/48588_2.png) [@Behzad\_Rezaie](https://discuss.elastic.co/u/Behzad_Rezaie)\
**Post date:** [February 23, 2019, 6:10am UTC](https://discuss.elastic.co/t/babel-problem-with-x-pack/169648/1 "2019-02-23T06:10:39Z")

</div>

Hi pals,

When running the Kibana server, I get the following error:

```
[BABEL] Note: The code generator has deoptimised the styling of "[KibanaDirectory]/node_modules/x-pack/plugins/canvas/canvas_plugin/types/all.js" as it exceeds the max of "500KB".

```

Here is my config file:

```
logging.dest: kibanaLog.log
searchguard.auth.type: "openid"
searchguard.openid.connect_url: "http://someserver/.well-known/openid-configuration"
searchguard.openid.client_id: "someclientid"
searchguard.openid.client_secret: "somesecret"
searchguard.openid.scope: "profile openid"
xpack.security.enabled: false

```

Best Regards,  
Behzad

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 23, 2019, 6:19am UTC](https://discuss.elastic.co/t/babel-problem-with-x-pack/169648/2 "2019-03-23T06:19:14Z")

</div>

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