Title: Module install/build fails on Heroku · Issue #332 · nodegit/nodegit · GitHub
Open Graph Title: Module install/build fails on Heroku · Issue #332 · nodegit/nodegit
X Title: Module install/build fails on Heroku · Issue #332 · nodegit/nodegit
Description: Install works fine locally (OSX), though I had to change some permissions to allow the binary to be written outside the node_modules directory. Why not just write the binary downloaded from S3 to node_modules/nodegit? Fetching repository...
Open Graph Description: Install works fine locally (OSX), though I had to change some permissions to allow the binary to be written outside the node_modules directory. Why not just write the binary downloaded from S3 to n...
X Description: Install works fine locally (OSX), though I had to change some permissions to allow the binary to be written outside the node_modules directory. Why not just write the binary downloaded from S3 to n...
Opengraph URL: https://github.com/nodegit/nodegit/issues/332
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Module install/build fails on Heroku ","articleBody":"Install works fine locally (OSX), though I had to change some permissions to allow the binary to be written outside the node_modules directory.\n\nWhy not just write the binary downloaded from S3 to `node_modules/nodegit`?\n\n```\nFetching repository, done.\nCounting objects: 108, done.\nDelta compression using up to 4 threads.\nCompressing objects: 100% (92/92), done.\nWriting objects: 100% (95/95), 12.12 KiB | 0 bytes/s, done.\nTotal 95 (delta 66), reused 5 (delta 2)\n\n-----\u003e Node.js app detected\n-----\u003e Resetting git environment\n-----\u003e Requested node range: ^0.10.28\n-----\u003e Resolved node version: 0.10.33\n-----\u003e Downloading and installing node\n-----\u003e Restoring node_modules directory from cache\n-----\u003e Pruning cached dependencies not specified in package.json\n-----\u003e Exporting config vars to environment\n-----\u003e Installing dependencies\n npm WARN package.json formdefutils@0.0.2 No repository field.\n npm WARN package.json formdefutils@0.0.2 No README data\n npm WARN package.json us@1.0.3 No repository field.\n\n \u003e nodegit@0.2.4 install /tmp/build_1cd14a456bfa97e314e7aa8c1a34a6c7/node_modules/nodegit\n \u003e node install\n\n [nodegit] Fetching binary from S3.\n [nodegit] Failed to install prebuilt, attempting compile.\n [nodegit] Determining dependencies.\n [nodegit] Detecting vendor/libgit2.\n [nodegit] Removing outdated vendor/libgit2.\n [nodegit] Detecting vendor/libssh2.\n [nodegit] Removing outdated vendor/libssh2.\n [nodegit] Detecting vendor/http_parser.\n [nodegit] Removing outdated vendor/http_parser.\n [nodegit] Fetching vendor/libgit2.\n [nodegit] Fetching vendor/libssh2.\n [nodegit] Fetching vendor/http_parser.\n [nodegit] Building native node module.\n [nodegit] Failed to build and install nodegit.\n Command failed: ../vendor/libssh2/src/openssl.c: In function '_libssh2_pub_priv_keyfile':\n ../vendor/libssh2/src/openssl.c:767: warning: value computed is not used\n ../vendor/libssh2/src/transport.c: In function '_libssh2_transport_send':\n ../vendor/libssh2/src/transport.c:716: warning: suggest braces around empty body in an 'if' statement\n cc1plus: error: unrecognized command line option \"-std=c++11\"\n make: *** [Release/obj.target/nodegit/src/nodegit.o] Error 1\n gyp ERR! build error \n gyp ERR! stack Error: `make` failed with exit code: 2\n gyp ERR! stack at ChildProcess.onExit (/tmp/build_1cd14a456bfa97e314e7aa8c1a34a6c7/node_modules/nodegit/node_modules/node-gyp/lib/build.js:267:23)\n gyp ERR! stack at ChildProcess.emit (events.js:98:17)\n gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)\n gyp ERR! System Linux 3.8.11-ec2\n gyp ERR! command \"node\" \"/tmp/build_1cd14a456bfa97e314e7aa8c1a34a6c7/node_modules/nodegit/node_modules/.bin/node-gyp\" \"clean\" \"configure\" \"build\" \"--python\" \"/usr/local/bin/python2\"\n gyp ERR! cwd /tmp/build_1cd14a456bfa97e314e7aa8c1a34a6c7/node_modules/nodegit\n gyp ERR! node -v v0.10.33\n gyp ERR! node-gyp -v v1.0.2\n gyp ERR! not ok \n```\n","author":{"url":"https://github.com/bwestergard","@type":"Person","name":"bwestergard"},"datePublished":"2014-12-29T17:43:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/332/nodegit/issues/332"}
| 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:95543767-0804-d6ed-907d-33dd60efed32 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC60:356EC6:15A9E37:1EE3D8A:6A5FA9C5 |
| html-safe-nonce | 23fede3c5d5145607354d9a01c01e8948aa2777dd7b9964ba6fa8bc977be60cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzYwOjM1NkVDNjoxNUE5RTM3OjFFRTNEOEE6NkE1RkE5QzUiLCJ2aXNpdG9yX2lkIjoiMjY5NDM2NTc3NDA2OTM0NDcwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 41c573b1b929271e31e4565b7ac051f7bd05152a361772e3e1d029232369aa8e |
| hovercard-subject-tag | issue:53057200 |
| 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/332/issue_layout |
| twitter:image | https://opengraph.githubassets.com/70722cbde6ae791b7bc704c2e5e2394d7bd3b10b5ca5854408c336dc2fe3a9e9/nodegit/nodegit/issues/332 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/70722cbde6ae791b7bc704c2e5e2394d7bd3b10b5ca5854408c336dc2fe3a9e9/nodegit/nodegit/issues/332 |
| og:image:alt | Install works fine locally (OSX), though I had to change some permissions to allow the binary to be written outside the node_modules directory. Why not just write the binary downloaded from S3 to n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bwestergard |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b835c054d57dfb6ce72ba8f0eb8f16f0370860631609eb10df818738c61c68d |
| 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 | 4df9bc0bde4bfd7cd95e75afdd7f103984ece3a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width