Title: Cannot install on debian9 · Issue #1592 · nodegit/nodegit · GitHub
Open Graph Title: Cannot install on debian9 · Issue #1592 · nodegit/nodegit
X Title: Cannot install on debian9 · Issue #1592 · nodegit/nodegit
Description: System information node version: v10.14.0 npm or yarn version: 6.4.1 OS/version/architecture: linux - debian9 / 4.15.0-39-generic / x64 Applicable nodegit version: 0.23.0 When installing on debian9 after installing the required deps you ...
Open Graph Description: System information node version: v10.14.0 npm or yarn version: 6.4.1 OS/version/architecture: linux - debian9 / 4.15.0-39-generic / x64 Applicable nodegit version: 0.23.0 When installing on debian9...
X Description: System information node version: v10.14.0 npm or yarn version: 6.4.1 OS/version/architecture: linux - debian9 / 4.15.0-39-generic / x64 Applicable nodegit version: 0.23.0 When installing on debian9...
Opengraph URL: https://github.com/nodegit/nodegit/issues/1592
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot install on debian9","articleBody":"## System information\r\n - node version: v10.14.0\r\n - npm or yarn version: 6.4.1\r\n - OS/version/architecture: linux - debian9 / 4.15.0-39-generic / x64\r\n - Applicable nodegit version: 0.23.0\r\n\r\nWhen installing on debian9 after installing the required deps you get this error:\r\n\u003e[nodegit] WARN - Could not finish postinstall\r\n{ Error: Command failed: node \"/node_modules/nodegit/dist/nodegit.js\"\r\n/node_modules/nodegit/dist/nodegit.js:16\r\n throw ex;\r\n ^\r\nError: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory\r\n at Object.Module._extensions..node (internal/modules/cjs/loader.js:717:18)\r\n at Module.load (internal/modules/cjs/loader.js:598:32)\r\n at tryModuleLoad (internal/modules/cjs/loader.js:537:12)\r\n at Function.Module._load (internal/modules/cjs/loader.js:529:3)\r\n at Module.require (internal/modules/cjs/loader.js:636:17)\r\n at require (internal/modules/cjs/helpers.js:20:18)\r\n at Object.\u003canonymous\u003e (/node_modules/nodegit/dist/nodegit.js:12:12)\r\n at Module._compile (internal/modules/cjs/loader.js:688:30)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)\r\n at Module.load (internal/modules/cjs/loader.js:598:32)\r\n at ChildProcess.exithandler (child_process.js:289:12)\r\n at ChildProcess.emit (events.js:182:13)\r\n at maybeClose (internal/child_process.js:962:16)\r\n at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)\r\n killed: false,\r\n code: 1,\r\n signal: null,\r\n cmd: 'node \"/node_modules/nodegit/dist/nodegit.js\"' }\r\n\r\n\r\n\r\nHere's the script required to reproduce this in a docker container.\r\n```\r\ndocker run --rm -it gcr.io/google-appengine/debian9 bash\r\napt update \u0026\u0026 apt install -y curl gnupg\r\ncurl -sL https://deb.nodesource.com/setup_10.x | bash -\r\napt install -y nodejs\r\napt install -y libcurl4-gnutls-dev\r\nnpm install nodegit\r\n```\r\nor as a single command\r\n```\r\ndocker run --rm gcr.io/google-appengine/debian9 bash -c \"apt update \u0026\u0026 apt install -y curl gnupg \u0026\u0026 curl -sL https://deb.nodesource.com/setup_10.x | bash - \u0026\u0026 apt install -y nodejs libcurl4-gnutls-dev \u0026\u0026 npm install nodegit\"\r\n```\r\n\r\nIt may be a little naive but ideally the dependencies on system libs should be removed. This makes it very difficult for us to use since our applications are used in a variety of OS's and distributions.","author":{"url":"https://github.com/Toxicable","@type":"Person","name":"Toxicable"},"datePublished":"2018-11-28T06:46:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/1592/nodegit/issues/1592"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:86176436-124d-9813-f897-24a9cf0b1d45 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8950:1B1B51:1A6DA3F:25D0D5D:6A5FAFA5 |
| html-safe-nonce | 15870bcc48d01be2a63a01fa8bf74e033a0d44ebe92dceab22a03acf919f87dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTUwOjFCMUI1MToxQTZEQTNGOjI1RDBENUQ6NkE1RkFGQTUiLCJ2aXNpdG9yX2lkIjoiMzk1MzIwNjI4NzUwMTYwMjcyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8416a406cf38c74a6502f3006ffd15846957ca79772473d6be72ed446944e885 |
| hovercard-subject-tag | issue:385124919 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/1592/issue_layout |
| twitter:image | https://opengraph.githubassets.com/34120327fcd72ebcca20cc6a261971c0d5a46b60b324a45cab773f5e55cfb57b/nodegit/nodegit/issues/1592 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/34120327fcd72ebcca20cc6a261971c0d5a46b60b324a45cab773f5e55cfb57b/nodegit/nodegit/issues/1592 |
| og:image:alt | System information node version: v10.14.0 npm or yarn version: 6.4.1 OS/version/architecture: linux - debian9 / 4.15.0-39-generic / x64 Applicable nodegit version: 0.23.0 When installing on debian9... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Toxicable |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1ec7085bd7214c509393537f93bc21c48856549e31538b70bdb3cc4df7eb5f70 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b0ff0ab699186747983f122c82d4ebc71a1c22b4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width