levrik/node-modern-rcon

TypeError: r is not a function

Opened this issue · 0 comments

I'm using the package on Vue (Webpack).

Just with a Simple example cant get pass through this error.
I installed the net and buffer dependencies, and a piece of my code here:

`import Rcon from 'rcon-srcds'

const server = new Rcon({
host: this.ip,
port: this..port
})

  console.log(server.authenticate(this.rcon_password))`

I think I'm missing something arround the dependencies.
Thanks.