You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed the library and I haven't been able to run it. This might be an installation problem. I followed the instructions to the letter.
My code is:
const{ Client }=require('tdl')constclient=newClient({apiId: my.id,// Your api_idapiHash: my.hash// Your api_hash})
This is the error I get:
C:\Users\pc\projects\denbot\node_modules\ffi-napi\lib\dynamic_library.js:74
throw new Error('Dynamic Linking Error: ' + err);
^
Error: Dynamic Linking Error: Win32 error 126
at new DynamicLibrary (C:\Users\pc\projects\denbot\node_modules\ffi-napi\lib\dynamic_library.js:74:11)
at Object.Library (C:\Users\pc\projects\denbot\node_modules\ffi-napi\lib\library.js:45:14)
at new TDLib (C:\Users\pc\projects\denbot\node_modules\tdl\dist\tdlib-ffi.js:42:37)
at new Client (C:\Users\pc\projects\denbot\node_modules\tdl\dist\client.js:180:50)
at Object.<anonymous> (C:\Users\pc\projects\denbot\index.js:3:16)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
The text was updated successfully, but these errors were encountered:
I just installed the library and I haven't been able to run it. This might be an installation problem. I followed the instructions to the letter.
My code is:
This is the error I get:
The text was updated successfully, but these errors were encountered: