{"action":"opened","issue":{"url":"https://api.github.com/repos/Bannerets/tdl/issues/21","repository_url":"https://api.github.com/repos/Bannerets/tdl","labels_url":"https://api.github.com/repos/Bannerets/tdl/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Bannerets/tdl/issues/21/comments","events_url":"https://api.github.com/repos/Bannerets/tdl/issues/21/events","html_url":"https://github.com/Bannerets/tdl/issues/21","id":354982155,"node_id":"MDU6SXNzdWUzNTQ5ODIxNTU=","number":21,"title":"Error: ENOENT: no such file or directory, open '/app/libtdjson.so'","user":{"login":"adavidof","id":10529679,"node_id":"MDQ6VXNlcjEwNTI5Njc5","avatar_url":"https://avatars1.githubusercontent.com/u/10529679?v=4","gravatar_id":"","url":"https://api.github.com/users/adavidof","html_url":"https://github.com/adavidof","followers_url":"https://api.github.com/users/adavidof/followers","following_url":"https://api.github.com/users/adavidof/following{/other_user}","gists_url":"https://api.github.com/users/adavidof/gists{/gist_id}","starred_url":"https://api.github.com/users/adavidof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adavidof/subscriptions","organizations_url":"https://api.github.com/users/adavidof/orgs","repos_url":"https://api.github.com/users/adavidof/repos","events_url":"https://api.github.com/users/adavidof/events{/privacy}","received_events_url":"https://api.github.com/users/adavidof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-29T03:31:02Z","updated_at":"2018-08-29T03:31:02Z","closed_at":null,"author_association":"NONE","body":"On server I have file\r\n`./app/libtdjson.dylib`\r\n\r\nIn the code I do this:\r\n```js\r\nclient = new Client({\r\n  apiId: api_id,\r\n  apiHash: hash,\r\n  loginDetails: {\r\n    type: 'user',\r\n    phoneNumber: '+xxxxxxxxxx'\r\n  }\r\n});\r\n```\r\n\r\n2018-08-29T03:28:34.971644+00:00 app[web.1]: Auth error { Error: ENOENT: no such file or directory, open '/app/libtdjson.so'\r\n2018-08-29T03:28:34.971647+00:00 app[web.1]: at Object.openSync (fs.js:434:3)\r\n2018-08-29T03:28:34.971649+00:00 app[web.1]: at readFileSync (fs.js:339:35)\r\n2018-08-29T03:28:34.971660+00:00 app[web.1]: at new DynamicLibrary (/app/node_modules/ffi-napi/lib/dynamic_library.js:67:23)\r\n2018-08-29T03:28:34.971662+00:00 app[web.1]: at Object.Library (/app/node_modules/ffi-napi/lib/library.js:45:14)\r\n2018-08-29T03:28:34.971668+00:00 app[web.1]: at new TDLib (/app/node_modules/tdl/dist/TDLib.js:38:37)\r\n2018-08-29T03:28:34.971669+00:00 app[web.1]: at new Client (/app/node_modules/tdl/dist/Client.js:165:50)\r\n2018-08-29T03:28:34.971671+00:00 app[web.1]: at Object.<anonymous> (/app/dist/telegram/channel-history/tg-with-tdlib/tg.js:357:26)\r\n2018-08-29T03:28:34.971673+00:00 app[web.1]: at step (/app/dist/telegram/channel-history/tg-with-tdlib/tg.js:32:23)\r\n2018-08-29T03:28:34.971674+00:00 app[web.1]: at Object.next (/app/dist/telegram/channel-history/tg-with-tdlib/tg.js:13:53)\r\n2018-08-29T03:28:34.971676+00:00 app[web.1]: at /app/dist/telegram/channel-history/tg-with-tdlib/tg.js:7:71\r\n2018-08-29T03:28:34.971678+00:00 app[web.1]: at new Promise (<anonymous>)\r\n2018-08-29T03:28:34.971679+00:00 app[web.1]: at __awaiter (/app/dist/telegram/channel-history/tg-with-tdlib/tg.js:3:12)\r\n2018-08-29T03:28:34.971685+00:00 app[web.1]: at Object.exports.parseSignalsFromChannels2 (/app/dist/telegram/channel-history/tg-with-tdlib/tg.js:337:58)\r\n2018-08-29T03:28:34.971687+00:00 app[web.1]: at /app/dist/index.js:137:26\r\n2018-08-29T03:28:34.971689+00:00 app[web.1]: at step (/app/dist/index.js:32:23)\r\n2018-08-29T03:28:34.971691+00:00 app[web.1]: at Object.next (/app/dist/index.js:13:53)\r\n2018-08-29T03:28:34.971693+00:00 app[web.1]: at /app/dist/index.js:7:71\r\n2018-08-29T03:28:34.971695+00:00 app[web.1]: at new Promise (<anonymous>)\r\n2018-08-29T03:28:34.971696+00:00 app[web.1]: at __awaiter (/app/dist/index.js:3:12)\r\n2018-08-29T03:28:34.971698+00:00 app[web.1]: at init (/app/dist/index.js:133:12)\r\n2018-08-29T03:28:34.971699+00:00 app[web.1]: at Object.<anonymous> (/app/dist/index.js:176:1)\r\n2018-08-29T03:28:34.971701+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:689:30)\r\n2018-08-29T03:28:34.971703+00:00 app[web.1]: errno: -2,\r\n2018-08-29T03:28:34.971704+00:00 app[web.1]: syscall: 'open',\r\n2018-08-29T03:28:34.971706+00:00 app[web.1]: code: 'ENOENT',\r\n2018-08-29T03:28:34.971708+00:00 app[web.1]: path: '/app/libtdjson.so' }\r\n\r\n\r\n@Bannerets \r\nWhat I missed?"}}
{"actor":{"display_login":"adavidof"}}