tglib icon indicating copy to clipboard operation
tglib copied to clipboard

Importing TGLib troubleshooting

Open Grifting opened this issue 5 years ago • 1 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

Grifting avatar Jan 18 '21 18:01 Grifting

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

Grifting avatar Jan 18 '21 19:01 Grifting