René's URL Explorer Experiment


Title: Doesn't work with Electron · Issue #574 · nodegit/nodegit · GitHub

Open Graph Title: Doesn't work with Electron · Issue #574 · nodegit/nodegit

X Title: Doesn't work with Electron · Issue #574 · nodegit/nodegit

Description: The installation instructions for Electron http://www.nodegit.org/guides/install/electron/ have us add to package.json: "engines": { "electron": "0.20.7" } And run npm install, which in turn runs lifecycleScripts/install.js. However, tha...

Open Graph Description: The installation instructions for Electron http://www.nodegit.org/guides/install/electron/ have us add to package.json: "engines": { "electron": "0.20.7" } And run npm install, which in turn runs l...

X Description: The installation instructions for Electron http://www.nodegit.org/guides/install/electron/ have us add to package.json: "engines": { "electron": "0.20.7" } And run npm...

Opengraph URL: https://github.com/nodegit/nodegit/issues/574

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Doesn't work with Electron","articleBody":"The installation instructions for Electron http://www.nodegit.org/guides/install/electron/ have us add to package.json:\n\n```\n  \"engines\": {\n    \"electron\": \"0.20.7\"\n  }\n```\n\nAnd run `npm install`, which in turn runs `lifecycleScripts/install.js`. However, that install script is still based off the old \"atom-shell\" and not Electron:\n\nhttps://github.com/nodegit/nodegit/blob/master/lifecycleScripts/install.js#L29\nhttps://github.com/nodegit/nodegit/blob/master/lifecycleScripts/install.js#L106-L107\n\n.. so when you run `npm install nodegit` with the package.json above it will build against the current Node version, not Electron. Unsurprisingly, Electron blows if you try to require `nodegit` in it.\n\nI've tried working around this by taking the instructions from Electron's docs (https://github.com/atom/electron/blob/master/docs/tutorial/using-native-node-modules.md) and patching `lifecycleScripts/install.js` accordingly, e.g.:\n\n``` diff\ndiff --git a/lifecycleScripts/install.js b/lifecycleScripts/install.js\nindex 65b8031..7550fe0 100644\n--- a/lifecycleScripts/install.js\n+++ b/lifecycleScripts/install.js\n@@ -18,7 +18,7 @@ var local = path.join.bind(path, __dirname);\n return whichNativeNodish(\"..\")\n   .then(function(results) {\n     nwVersion = results.nwVersion;\n-    asVersion = results.asVersion;\n+    asVersion = '0.26.0';\n   })\n   .then(function() {\n     if (nwVersion) {\n@@ -103,8 +103,7 @@ function build() {\n\n     target = \"--target=\" + asVersion;\n\n-    distUrl = \"--dist-url=https://gh-contractor-zcbenz.s3.\" +\n-      \"amazonaws.com/atom-shell/dist\";\n+    distUrl = \"--dist-url=https://atom.io/download/atom-shell\";\n   }\n   else if (nwVersion) {\n     builder = \"nw-gyp\";\n```\n\nHowever, the build fails:\n\n```\n$ node lifecycleScripts/install\n[nodegit] Must build for atom-shell\n[nodegit] Making sure dependencies are available and native code is generated\n[nodegit] Everything is ready to go, attempting compilation\n[nodegit] Building native node module.\n{ [Error: Command failed: /bin/sh -c HOME=~/.atom-shell-gyp /Users/aadib/temp/nodegit/node_modules/.bin/pangyp rebuild --target=0.26.0  --dist-url=https://atom.io/download/atom-shell\ngyp info it worked if it ends with ok\ngyp info using pangyp@2.2.0\ngyp info using node@2.0.2 | darwin | x64\ngyp info spawn python\ngyp info spawn args [ '/Users/aadib/temp/nodegit/node_modules/pangyp/gyp/gyp_main.py',\ngyp info spawn args   'binding.gyp',\ngyp info spawn args   '-f',\ngyp info spawn args   'make',\ngyp info spawn args   '-I',\ngyp info spawn args   '/Users/aadib/temp/nodegit/build/config.gypi',\ngyp info spawn args   '-I',\ngyp info spawn args   '/Users/aadib/temp/nodegit/node_modules/pangyp/addon.gypi',\ngyp info spawn args   '-I',\ngyp info spawn args   '/Users/aadib/.atom-shell-gyp/.node-gyp/0.26.0/common.gypi',\ngyp info spawn args   '-Dlibrary=shared_library',\ngyp info spawn args   '-Dvisibility=default',\ngyp info spawn args   '-Dnode_root_dir=/Users/aadib/.atom-shell-gyp/.node-gyp/0.26.0',\ngyp info spawn args   '-Druntime=iojs',\ngyp info spawn args   '-Dmodule_root_dir=/Users/aadib/temp/nodegit',\ngyp info spawn args   '--depth=.',\ngyp info spawn args   '--no-parallel',\ngyp info spawn args   '--generator-output',\ngyp info spawn args   'build',\ngyp info spawn args   '-Goutput_dir=.' ]\ngyp info spawn make\ngyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]\n../vendor/libgit2/src/attr.c:10:1: warning: unused function 'kh_clear_str' [-Wunused-function]\nGIT__USE_STRMAP;\n^\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\n                   ^\n\u003cscratch space\u003e:74:1: note: expanded from here\nkh_clear_str\n^\n../vendor/libgit2/src/attr.c:10:1: warning: unused function 'kh_del_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\n                   ^\n\u003cscratch space\u003e:88:1: note: expanded from here\nkh_del_str\n^\n2 warnings generated.\n../vendor/libgit2/src/attrcache.c:8:1: warning: unused function 'kh_clear_str' [-Wunused-function]\nGIT__USE_STRMAP;\n^\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\n                   ^\n\u003cscratch space\u003e:74:1: note: expanded from here\nkh_clear_str\n^\n../vendor/libgit2/src/attrcache.c:8:1: warning: unused function 'kh_del_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\n                   ^\n\u003cscratch space\u003e:88:1: note: expanded from here\nkh_del_str\n^\n2 warnings generated.\n../vendor/libgit2/src/clone.c:479:20: warning: unused function 'repository_base' [-Wunused-function]\nstatic const char *repository_base(git_repository *repo)\n                   ^\n1 warning generated.\n../vendor/libgit2/src/config_file.c:24:1: warning: unused function 'kh_clear_str' [-Wunused-function]\nGIT__USE_STRMAP;\n^\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\n                   ^\n\u003cscratch space\u003e:74:1: note: expanded from here\nkh_clear_str\n^\n../vendor/libgit2/src/config_file.c:24:1: warning: unused function 'kh_del_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\n                   ^\n\u003cscratch space\u003e:88:1: note: expanded from here\nkh_del_str\n^\n2 warnings generated.\n../vendor/libgit2/src/diff_driver.c:20:1: warning: unused function 'kh_clear_str' [-Wunused-function]\nGIT__USE_STRMAP;\n^\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\n                   ^\n\u003cscratch space\u003e:74:1: note: expanded from here\nkh_clear_str\n^\n../vendor/libgit2/src/diff_driver.c:20:1: warning: unused function 'kh_del_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\n                   ^\n\u003cscratch space\u003e:88:1: note: expanded from here\nkh_del_str\n^\n2 warnings generated.\n../vendor/libgit2/src/mwindow.c:17:1: warning: unused function 'kh_clear_str' [-Wunused-function]\nGIT__USE_STRMAP;\n^\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\n                   ^\n\u003cscratch space\u003e:121:1: note: expanded from here\nkh_clear_str\n^\n1 warning generated.\n../vendor/libgit2/src/odb_mempack.c:21:1: warning: unused function 'kh_destroy_oid' [-Wunused-function]\nGIT__USE_OIDMAP;\n^\n../vendor/libgit2/src/oidmap.h:30:2: note: expanded from macro 'GIT__USE_OIDMAP'\n        __KHASH_IMPL(oid, static kh_inline, const git_oid *, void *, 1, git_oidmap_hash, git_oid_equal)\n        ^\n../vendor/libgit2/src/khash.h:198:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \\\n                   ^\n\u003cscratch space\u003e:67:1: note: expanded from here\nkh_destroy_oid\n^\n../vendor/libgit2/src/odb_mempack.c:21:1: warning: unused function 'kh_clear_oid' [-Wunused-function]\n../vendor/libgit2/src/oidmap.h:30:2: note: expanded from macro 'GIT__USE_OIDMAP'\n        __KHASH_IMPL(oid, static kh_inline, const git_oid *, void *, 1, git_oidmap_hash, git_oid_equal)\n        ^\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\n                   ^\n\u003cscratch space\u003e:70:1: note: expanded from here\nkh_clear_oid\n^\n../vendor/libgit2/src/odb_mempack.c:21:1: warning: unused function 'kh_del_oid' [-Wunused-function]\n../vendor/libgit2/src/oidmap.h:30:2: note: expanded from macro 'GIT__USE_OIDMAP'\n        __KHASH_IMPL(oid, static kh_inline, const git_oid *, void *, 1, git_oidmap_hash, git_oid_equal)\n        ^\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\n                   ^\n\u003cscratch space\u003e:84:1: note: expanded from here\nkh_del_oid\n^\n3 warnings generated.\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_init_str' [-Wunused-function]\nGIT__USE_STRMAP;\n^\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:195:23: note: expanded from macro '__KHASH_IMPL'\n        SCOPE kh_##name##_t *kh_init_##name(void) {                                                     \\\n                             ^\n\u003cscratch space\u003e:124:1: note: expanded from here\nkh_init_str\n^\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_destroy_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:198:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \\\n                   ^\n\u003cscratch space\u003e:129:1: note: expanded from here\nkh_destroy_str\n^\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_clear_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\n                   ^\n\u003cscratch space\u003e:132:1: note: expanded from here\nkh_clear_str\n^\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_get_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:213:16: note: expanded from macro '__KHASH_IMPL'\n        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \\\n                      ^\n\u003cscratch space\u003e:135:1: note: expanded from here\nkh_get_str\n^\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_put_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:291:16: note: expanded from macro '__KHASH_IMPL'\n        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \\\n                      ^\n\u003cscratch space\u003e:141:1: note: expanded from here\nkh_put_str\n^\n../vendor/libgit2/src/refdb_fs.c:29:1: warning: unused function 'kh_del_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\n                   ^\n\u003cscratch space\u003e:146:1: note: expanded from here\nkh_del_str\n^\n6 warnings generated.\n../vendor/libgit2/src/refs.c:27:1: warning: unused function 'kh_init_str' [-Wunused-function]\nGIT__USE_STRMAP;\n^\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:195:23: note: expanded from macro '__KHASH_IMPL'\n        SCOPE kh_##name##_t *kh_init_##name(void) {                                                     \\\n                             ^\n\u003cscratch space\u003e:124:1: note: expanded from here\nkh_init_str\n^\n../vendor/libgit2/src/refs.c:27:1: warning: unused function 'kh_destroy_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:198:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \\\n                   ^\n\u003cscratch space\u003e:129:1: note: expanded from here\nkh_destroy_str\n^\n../vendor/libgit2/src/refs.c:27:1: warning: unused function 'kh_clear_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\n                   ^\n\u003cscratch space\u003e:132:1: note: expanded from here\nkh_clear_str\n^\n../vendor/libgit2/src/refs.c:27:1: warning: unused function 'kh_get_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:213:16: note: expanded from macro '__KHASH_IMPL'\n        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \\\n                      ^\n\u003cscratch space\u003e:135:1: note: expanded from here\nkh_get_str\n^\n../vendor/libgit2/src/refs.c:27:1: warning: unused function 'kh_put_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:291:16: note: expanded from macro '__KHASH_IMPL'\n        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \\\n                      ^\n\u003cscratch space\u003e:141:1: note: expanded from here\nkh_put_str\n^\n../vendor/libgit2/src/refs.c:27:1: warning: unused function 'kh_del_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\n                   ^\n\u003cscratch space\u003e:146:1: note: expanded from here\nkh_del_str\n^\n6 warnings generated.\n../vendor/libgit2/src/submodule.c:86:1: warning: unused function 'kh_clear_str' [-Wunused-function]\n__KHASH_IMPL(\n^\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\n                   ^\n\u003cscratch space\u003e:74:1: note: expanded from here\nkh_clear_str\n^\n1 warning generated.\n../vendor/libgit2/src/transaction.c:20:1: warning: unused function 'kh_clear_str' [-Wunused-function]\nGIT__USE_STRMAP;\n^\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:206:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \\\n                   ^\n\u003cscratch space\u003e:74:1: note: expanded from here\nkh_clear_str\n^\n../vendor/libgit2/src/transaction.c:20:1: warning: unused function 'kh_del_str' [-Wunused-function]\n../vendor/libgit2/src/strmap.h:23:2: note: expanded from macro 'GIT__USE_STRMAP'\n        __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)\n        ^\n../vendor/libgit2/src/khash.h:333:13: note: expanded from macro '__KHASH_IMPL'\n        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \\\n                   ^\n\u003cscratch space\u003e:88:1: note: expanded from here\nkh_del_str\n^\n2 warnings generated.\n../vendor/libssh2/src/misc.c:214:19: warning: unused variable 'base64_table' [-Wunused-const-variable]\nstatic const char base64_table[] =\n                  ^\n../vendor/libssh2/src/misc.c:223:19: warning: unused variable 'base64_pad' [-Wunused-const-variable]\nstatic const char base64_pad = '=';\n                  ^\n2 warnings generated.\n../vendor/openssl/openssl/ssl/d1_srtp.c:147:7: warning: missing field 'id' initializer [-Wmissing-field-initializers]\n    {0}\n      ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/asn1/x_bignum.c:85:1: warning: missing field 'prim_print' initializer [-Wmissing-field-initializers]\n};\n^\n1 warning generated.\n../vendor/openssl/openssl/crypto/cmac/cm_ameth.c:96:2: warning: missing field 'item_verify' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/dh/dh_ameth.c:500:2: warning: missing field 'old_priv_decode' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/dsa/dsa_ameth.c:650:3: warning: missing field 'pem_str' initializer [-Wmissing-field-initializers]\n                },\n                ^\n../vendor/openssl/openssl/crypto/dsa/dsa_ameth.c:656:3: warning: missing field 'pem_str' initializer [-Wmissing-field-initializers]\n                },\n                ^\n../vendor/openssl/openssl/crypto/dsa/dsa_ameth.c:662:3: warning: missing field 'pem_str' initializer [-Wmissing-field-initializers]\n                },\n                ^\n../vendor/openssl/openssl/crypto/dsa/dsa_ameth.c:668:3: warning: missing field 'pem_str' initializer [-Wmissing-field-initializers]\n                },\n                ^\n../vendor/openssl/openssl/crypto/dsa/dsa_ameth.c:702:3: warning: missing field 'item_verify' initializer [-Wmissing-field-initializers]\n                }\n                ^\n5 warnings generated.\n../vendor/openssl/openssl/crypto/ec/ec_ameth.c:660:2: warning: missing field 'item_verify' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/ec/ec_lib.c:71:19: warning: unused variable 'EC_version' [-Wunused-const-variable]\nstatic const char EC_version[] = \"EC\" OPENSSL_VERSION_PTEXT;\n                  ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/engine/eng_dyn.c:117:30: warning: unused variable 'dynamic_cmd_defns_empty' [-Wunused-const-variable]\nstatic const ENGINE_CMD_DEFN dynamic_cmd_defns_empty[] = {\n                             ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/engine/eng_openssl.c:344:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/evp/m_dss.c:94:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/evp/m_dss1.c:96:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/evp/m_ecdsa.c:144:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/evp/m_md4.c:97:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/evp/m_md5.c:96:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/evp/m_mdc2.c:97:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/evp/m_null.c:88:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/evp/m_ripemd.c:96:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/evp/m_sha.c:95:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/evp/m_sha1.c:97:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n../vendor/openssl/openssl/crypto/evp/m_sha1.c:134:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n../vendor/openssl/openssl/crypto/evp/m_sha1.c:153:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n../vendor/openssl/openssl/crypto/evp/m_sha1.c:184:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n../vendor/openssl/openssl/crypto/evp/m_sha1.c:203:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n5 warnings generated.\n../vendor/openssl/openssl/crypto/evp/m_wp.c:37:2: warning: missing field 'md_ctrl' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/hmac/hm_ameth.c:166:2: warning: missing field 'item_verify' initializer [-Wmissing-field-initializers]\n        };\n        ^\n1 warning generated.\n../vendor/openssl/openssl/crypto/pem/pem_lib.c:473:6: warning: variable 'i' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]\n        if (o)\n            ^\n../vendor/openssl/openssl/crypto/pem/pem_lib.c:480:5: note: uninitialized use occurs here\n        j+=i;\n           ^\n../vendor/openssl/openssl/crypto/pem/pem_lib.c:473:2: note: remove the 'if' if its condition is always true\n        if (o)\n        ^~~~~~\n../vendor/openssl/openssl/crypto/pem/pem_lib.c:443:7: note: initialize the variable 'i' to silence this warning\n        int i,j,o,klen;\n             ^\n              = 0\n1 warning generated.\n../vendor/openssl/openssl/crypto/rsa/rsa_ameth.c:697:3: warning: missing field 'pem_str' initializer [-Wmissing-field-initializers]\n                }\n                ^\n1 warning generated.\nIn file included from ../src/nodegit.cc:6:\nIn file included from ../src/../include/wrapper.h:11:\nIn file included from ../node_modules/nan/nan.h:80:\nIn file included from ../node_modules/nan/nan_new.h:190:\n../node_modules/nan/nan_implementation_12_inl.h:181:66: error: too many arguments to function call, expected at most 2, have 4\n  return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);\n         ~~~~~~~~~~~~~~~~~~                                      ^~~~~~~~~~\n/Users/aadib/.atom-shell-gyp/.node-gyp/0.26.0/deps/v8/include/v8.h:4170:3: note: 'New' declared here\n  static Local\u003cSignature\u003e New(\n  ^\n1 error generated.\nmake: *** [Release/obj.target/nodegit/src/nodegit.o] Error 1\ngyp ERR! build error \ngyp ERR! stack Error: `make` failed with exit code: 2\ngyp ERR! stack     at ChildProcess.onExit (/Users/aadib/temp/nodegit/node_modules/pangyp/lib/build.js:271:23)\ngyp ERR! stack     at emitTwo (events.js:87:13)\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1009:12)\ngyp ERR! System Darwin 14.3.0\ngyp ERR! command \"/Users/aadib/.nvm/versions/io.js/v2.0.2/bin/iojs\" \"/Users/aadib/temp/nodegit/node_modules/.bin/pangyp\" \"rebuild\" \"--target=0.26.0\" \"--dist-url=https://atom.io/download/atom-shell\"\ngyp ERR! cwd /Users/aadib/temp/nodegit\ngyp ERR! node -v v2.0.2\ngyp ERR! pangyp -v v2.2.0\ngyp ERR! not ok \n]\n  killed: false,\n  code: 1,\n  signal: null,\n  cmd: '/bin/sh -c HOME=~/.atom-shell-gyp /Users/aadib/temp/nodegit/node_modules/.bin/pangyp rebuild --target=0.26.0  --dist-url=https://atom.io/download/atom-shell' }\nundefined\n```\n","author":{"url":"https://github.com/arturadib","@type":"Person","name":"arturadib"},"datePublished":"2015-05-17T01:51:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/574/nodegit/issues/574"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2285900c-c331-ddd7-160a-8f4dc2d697e1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAF7E:246CE:33642D6:42BC10A:6A5CE6C5
html-safe-nonce6d5f76dc6e6a8a6c8292c5616b4c73178027afadfa04b6856716d87cd2343e69
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjdFOjI0NkNFOjMzNjQyRDY6NDJCQzEwQTo2QTVDRTZDNSIsInZpc2l0b3JfaWQiOiI3MDExOTE2MzA4NzU5MjQyNDM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2f61502779d0a343824c4d5b5aa93d9cef351e4e822596637b5efa1368eac295
hovercard-subject-tagissue:77182463
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/574/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b429220ffd652d3e25bc819a1d1e0366cbc9d37023dbb7a0d64f7bb646bddbd8/nodegit/nodegit/issues/574
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b429220ffd652d3e25bc819a1d1e0366cbc9d37023dbb7a0d64f7bb646bddbd8/nodegit/nodegit/issues/574
og:image:altThe installation instructions for Electron http://www.nodegit.org/guides/install/electron/ have us add to package.json: "engines": { "electron": "0.20.7" } And run npm install, which in turn runs l...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamearturadib
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git
octolytics-dimension-user_id657068
octolytics-dimension-user_loginnodegit
octolytics-dimension-repository_id1383170
octolytics-dimension-repository_nwonodegit/nodegit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1383170
octolytics-dimension-repository_network_root_nwonodegit/nodegit
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodegit/nodegit/issues/574#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fissues%2F574
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fissues%2F574
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodegit%2Fnodegit
Reloadhttps://github.com/nodegit/nodegit/issues/574
Reloadhttps://github.com/nodegit/nodegit/issues/574
Reloadhttps://github.com/nodegit/nodegit/issues/574
Please reload this pagehttps://github.com/nodegit/nodegit/issues/574
nodegit https://github.com/nodegit
nodegithttps://github.com/nodegit/nodegit
Notifications https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Fork 698 https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Star 5.8k https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Code https://github.com/nodegit/nodegit
Issues 343 https://github.com/nodegit/nodegit/issues
Pull requests 20 https://github.com/nodegit/nodegit/pulls
Actions https://github.com/nodegit/nodegit/actions
Projects https://github.com/nodegit/nodegit/projects
Security and quality 0 https://github.com/nodegit/nodegit/security
Insights https://github.com/nodegit/nodegit/pulse
Code https://github.com/nodegit/nodegit
Issues https://github.com/nodegit/nodegit/issues
Pull requests https://github.com/nodegit/nodegit/pulls
Actions https://github.com/nodegit/nodegit/actions
Projects https://github.com/nodegit/nodegit/projects
Security and quality https://github.com/nodegit/nodegit/security
Insights https://github.com/nodegit/nodegit/pulse
Doesn't work with Electronhttps://github.com/nodegit/nodegit/issues/574#top
https://github.com/arturadib
arturadibhttps://github.com/arturadib
on May 17, 2015https://github.com/nodegit/nodegit/issues/574#issue-77182463
http://www.nodegit.org/guides/install/electron/http://www.nodegit.org/guides/install/electron/
https://github.com/nodegit/nodegit/blob/master/lifecycleScripts/install.js#L29https://github.com/nodegit/nodegit/blob/master/lifecycleScripts/install.js#L29
https://github.com/nodegit/nodegit/blob/master/lifecycleScripts/install.js#L106-L107https://github.com/nodegit/nodegit/blob/master/lifecycleScripts/install.js#L106-L107
https://github.com/atom/electron/blob/master/docs/tutorial/using-native-node-modules.mdhttps://github.com/atom/electron/blob/master/docs/tutorial/using-native-node-modules.md
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.