How to implement a local Inter Process Communication in

Hi people,
I have a C application that creates a UNIX socket in /tmp/server.socket. This is server-side.
Locally I have the that is my web frontend. This is the client-side.
I want that connects into that socket /tmp/server.socket to receive/transmit data.
Then with Vuex, all components will interact.

I had used the node-ipc in basic examples (not in a and works very well.
But now when I create a simple instance of node-ipc my application is not renderized and I received an error on browser console.

main.js :

import '@fortawesome/fontawesome-free/css/all.css'
import Vue from 'vue'

import App from './App.vue'

import './config/bootstrap'
import './config/msgs'
import './config/axios'
import './config/mq'

import store from './config/store'
import router from './config/router'

Vue.config.productionTip = false

const ipc = require('node-ipc') // <<<=== What is the problem here ? = 'test';

new Vue({
  render: h => h(App)

Error on console browser :

Someone could help me what is the problem or tell me the best directions to implement this kind of communication?

Thanks a lot