Open syedareehaquasar opened 2 years ago
Facing the same problem myself
node - v16.14.0
airgram - v5.0.0
OS: Windows 10
Error message:
PS D:\work\TelegramBot\NodejsTelegramClient> node index.js
D:\work\TelegramBot\NodejsTelegramClient\node_modules\ffi-napi\lib\dynamic_library.js:75
throw new Error('Dynamic Linking Error: ' + err);
^
Error: Dynamic Linking Error: Win32 error 126
at new DynamicLibrary (D:\work\TelegramBot\NodejsTelegramClient\node_modules\ffi-napi\lib\dynamic_library.js:75:11)
at Object.Library (D:\work\TelegramBot\NodejsTelegramClient\node_modules\ffi-napi\lib\library.js:47:10)
at new TdJsonClient (D:\work\TelegramBot\NodejsTelegramClient\node_modules\airgram\components\TdJsonClient.js:112:28)
at new Airgram (D:\work\TelegramBot\NodejsTelegramClient\node_modules\airgram\Airgram.js:51:116)
at Object.<anonymous> (D:\work\TelegramBot\NodejsTelegramClient\index.js:11:17)
I switched to wsl and tried worked for me you can try shifting to any Linux based environment as well if it's urgent @neetishraj
Same error here...
I switched to wsl and tried worked for me you can try shifting to any Linux based environment as well if it's urgent @NeetishRaj
No luck even in WSL for me. Had to use Python for my use
It works for me when i change airgram version 5.0.0
Tried cloning the repo and running as well and I am getting failure msg
Can someone help me out!