Process.binding is not supported when running kibana 7.5.1 with custom plugin deployed

I am using kibana tags/v7.5.1 to develop a custom plugin
It's working fine on dev
When i build and deploy the plugin into a stable release of kibana 7.5.1, i started Kibana but when running browser into http://kibana_stable:5601 i get this error
does anyone have an idea about this error ?
Thank You

process.binding is not supported

Version: 7.5.1
Build: 27610
Error: process.binding is not supported
    at Object.process.binding (http://kibana_stable:5600/built_assets/dlls/vendors.bundle.dll.js:6:426978)
    at Object.<anonymous> (http://kibana_stable:5600/bundles/commons.bundle.js:3:701069)
    at Object.<anonymous> (http://kibana_stable:5600/bundles/commons.bundle.js:3:707480)
    at __webpack_require__ (http://kibana_stable:5600/bundles/login.bundle.js:3:1463)
    at Object.<anonymous> (http://kibana_stable:5600/bundles/commons.bundle.js:10:14612)
    at __webpack_require__ (http://kibana_stable:5600/bundles/login.bundle.js:3:1463)
    at Object.<anonymous> (http://kibana_stable:5600/bundles/commons.bundle.js:10:13883)
    at __webpack_require__ (http://kibana_stable:5600/bundles/login.bundle.js:3:1463)
    at Object.<anonymous> (http://kibana_stable:5600/bundles/commons.bundle.js:3:2921691)
    at __webpack_require__ (http://kibana_stable:5600/bundles/login.bundle.js:3:1463)

@joshdover can we get some help please?

Thanks,
Bhavya

I am getting this error when i register chromeNavControls

  //Register the Nav Bar to show user notifications, feeds or alerts
  chromeNavControls: ['plugins/cortex_cases/nav_controls'],

The process.binding API is only available on the server. I suspect that you may be importing some server code inadvertently into your client-side code.

I am getting this error when i register chromeNavControls

What error? I think you forgot to post the error message.

Yes @joshdover, thank you
I imported by error a library in a component :slight_smile:

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