nodegin / tglib

TDLib (Telegram Database library) bindings for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing TGLib troubleshooting

Grifting opened this issue · comments

Hello,

What I have done so far
I'm trying to use tglib and followed the first step of compiling the official tdlib and followed the second step to create a node project and installing tglib.

My problem
is the following console log. I'm using NodeJS v15.6.0 which is above the preferred requirement of v10.0.0.
What can I do about it? The error message is telling me anything, hope you can help.
EDIT: I guess it has probably something to do with ffi-napi, because it looks like a buffer?

My Code
app

Console Log
log

Successful compilation of TDLIB
successful compilation

Kind regards and thank you for your help
Max

Ok I used NVM to change to node version 10 and it works there.