{"action":"opened","issue":{"url":"https://api.github.com/repos/Bannerets/tdl/issues/25","repository_url":"https://api.github.com/repos/Bannerets/tdl","labels_url":"https://api.github.com/repos/Bannerets/tdl/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/Bannerets/tdl/issues/25/comments","events_url":"https://api.github.com/repos/Bannerets/tdl/issues/25/events","html_url":"https://github.com/Bannerets/tdl/issues/25","id":368428938,"node_id":"MDU6SXNzdWUzNjg0Mjg5Mzg=","number":25,"title":"Can't run due to \"Dynamic Linking Error\"","user":{"login":"CryptoSharon","id":35318508,"node_id":"MDQ6VXNlcjM1MzE4NTA4","avatar_url":"https://avatars1.githubusercontent.com/u/35318508?v=4","gravatar_id":"","url":"https://api.github.com/users/CryptoSharon","html_url":"https://github.com/CryptoSharon","followers_url":"https://api.github.com/users/CryptoSharon/followers","following_url":"https://api.github.com/users/CryptoSharon/following{/other_user}","gists_url":"https://api.github.com/users/CryptoSharon/gists{/gist_id}","starred_url":"https://api.github.com/users/CryptoSharon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CryptoSharon/subscriptions","organizations_url":"https://api.github.com/users/CryptoSharon/orgs","repos_url":"https://api.github.com/users/CryptoSharon/repos","events_url":"https://api.github.com/users/CryptoSharon/events{/privacy}","received_events_url":"https://api.github.com/users/CryptoSharon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-09T22:50:59Z","updated_at":"2018-10-09T22:50:59Z","closed_at":null,"author_association":"NONE","body":"My code is:\r\n\r\n```js\r\nconst { Client } = require('tdl')\r\n\r\nconst client = new Client({\r\n  apiId: my.id, // Your api_id\r\n  apiHash: my.hash// Your api_hash\r\n})\r\n\r\nclient.connect().then(console.log('connected'))\r\n\r\n\r\nclient.login(() => ({\r\n  phoneNumber: my.number\r\n})).then(console.log)\r\n\r\nclient.destroy()\r\n```\r\n\r\nI 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. This is the error I get:\r\n\r\n```\r\nC:\\Users\\pc\\projects\\denbot\\node_modules\\ffi-napi\\lib\\dynamic_library.js:74\r\n    throw new Error('Dynamic Linking Error: ' + err);\r\n    ^\r\n\r\nError: Dynamic Linking Error: Win32 error 126\r\n    at new DynamicLibrary (C:\\Users\\pc\\projects\\denbot\\node_modules\\ffi-napi\\lib\\dynamic_library.js:74:11)\r\n    at Object.Library (C:\\Users\\pc\\projects\\denbot\\node_modules\\ffi-napi\\lib\\library.js:45:14)\r\n    at new TDLib (C:\\Users\\pc\\projects\\denbot\\node_modules\\tdl\\dist\\tdlib-ffi.js:42:37)\r\n    at new Client (C:\\Users\\pc\\projects\\denbot\\node_modules\\tdl\\dist\\client.js:180:50)\r\n    at Object.<anonymous> (C:\\Users\\pc\\projects\\denbot\\index.js:3:16)\r\n    at Module._compile (internal/modules/cjs/loader.js:689:30)\r\n    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)\r\n    at Module.load (internal/modules/cjs/loader.js:599:32)\r\n    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)\r\n    at Function.Module._load (internal/modules/cjs/loader.js:530:3)\r\n```"}}
{"actor":{"display_login":"CryptoSharon"}}