tglib
tglib copied to clipboard
Importing TGLib troubleshooting
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

Console Log

Successful compilation of TDLIB

Kind regards and thank you for your help Max
Ok I used NVM to change to node version 10 and it works there.