Title: npm install fails for nw.js · Issue #558 · nodegit/nodegit · GitHub
Open Graph Title: npm install fails for nw.js · Issue #558 · nodegit/nodegit
X Title: npm install fails for nw.js · Issue #558 · nodegit/nodegit
Description: I followed the instruction to include the "engine": { "nw.js": "0.11.7-rc3" }. I ran "npm install nodegit" it failed on both windows7 and ios 10.10. (64bit OSes, but ny nw.js is 32bit) It seems basically fails to build native node-webkit...
Open Graph Description: I followed the instruction to include the "engine": { "nw.js": "0.11.7-rc3" }. I ran "npm install nodegit" it failed on both windows7 and ios 10.10. (64bit OSes, but ny nw.js is 32bit) It seems bas...
X Description: I followed the instruction to include the "engine": { "nw.js": "0.11.7-rc3" }. I ran "npm install nodegit" it failed on both windows7 and ios 10.10. (64bit O...
Opengraph URL: https://github.com/nodegit/nodegit/issues/558
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"npm install fails for nw.js","articleBody":"I followed the instruction to include the \"engine\": { \"nw.js\": \"0.11.7-rc3\" }.\nI ran \"npm install nodegit\" it failed on both windows7 and ios 10.10. (64bit OSes, but ny nw.js is 32bit)\nIt seems basically fails to build native node-webkit module. \nI have installed node-gyp, nw-gyp, node-pre-gyp at the global npm directory.\nI also tried to install node-gyp, nw-gyp, node-pre-gyp in my app/node_modules, but did not help.\nI also tried to install nan@1.4.3, but no difference.\n## Below is the console.log on ios. On windows, I got the error that says binding.gyp is not found.\n\nIn file included from ../src/blame_options.cc:2:\nIn file included from ../node_modules/nan/nan.h:24:\nIn file included from /Users/bso/.nw-gyp/0.11.7-rc3/src/node.h:76:\n/Users/bso/.nw-gyp/0.11.7-rc3/deps/v8/include/v8.h:596:5: error: assigning to 'v8::Object _volatile' from incompatible type 'v8::Primitive *'\n TYPE_CHECK(O, Primitive);\n ^~~~~~~~~~~~~~~~~~~~~~~~\n/Users/bso/.nw-gyp/0.11.7-rc3/deps/v8/include/v8.h:167:37: note: expanded from macro 'TYPE_CHECK'\n *(static_cast\u003cT_ volatile_\u003e(0)) = static_cast\u003cS_\u003e(0); \\\n ^ ~~~~~~~~~~~~~~~~~~\n/Users/bso/.nw-gyp/0.11.7-rc3/deps/v8/include/v8.h:592:5: note: in instantiation of function template specialization 'v8::NonCopyablePersistentTraitsv8::Object::Uncompilablev8::Object' requested here\n Uncompilable\u003cObject\u003e();\n ^\n/Users/bso/.nw-gyp/0.11.7-rc3/deps/v8/include/v8.h:5821:6: note: in instantiation of function template specialization 'v8::NonCopyablePersistentTraitsv8::Object::Copy\u003cv8::Object, v8::NonCopyablePersistentTraits\u003cv8::Object\u003e \u003e' requested here\n M::Copy(that, this);\n ^\n/Users/bso/.nw-gyp/0.11.7-rc3/deps/v8/include/v8.h:657:5: note: in instantiation of function template specialization 'v8::Persistent\u003cv8::Object, v8::NonCopyablePersistentTraits\u003cv8::Object\u003e \u003e::Copy\u003cv8::Object, v8::NonCopyablePersistentTraits\u003cv8::Object\u003e \u003e' requested here\n Copy(that);\n ^\n../src/blame_options.cc:191:18: note: in instantiation of member function 'v8::Persistent\u003cv8::Object, v8::NonCopyablePersistentTraits\u003cv8::Object\u003e \u003e::Persistent' requested here\n NanReturnValue(wrapper-\u003enewest_commit);\n ^\n../node_modules/nan/nan.h:401:81: note: expanded from macro 'NanReturnValue'\n# define NanReturnValue(value) return args.GetReturnValue().Set(_NanEnsureLocal(value))\n\n```\n ^\n```\n\n1 warning and 1 error generated.\nmake: **\\* [Release/obj.target/nodegit/src/blame_options.o] Error 1\ngyp ERR! build error \ngyp ERR! stack Error: `make` failed with exit code: 2\ngyp ERR! stack at ChildProcess.onExit (/Users/bso/xdk6/node_modules/nodegit/node_modules/nw-gyp/lib/build.js:267:23)\ngyp ERR! stack at ChildProcess.emit (events.js:110:17)\ngyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)\ngyp ERR! System Darwin 14.3.0\ngyp ERR! command \"node\" \"/Users/bso/xdk6/node_modules/nodegit/node_modules/.bin/nw-gyp\" \"rebuild\" \"--target=0.11.7-rc3\"\ngyp ERR! cwd /Users/bso/xdk6/node_modules/nodegit\ngyp ERR! node -v v0.12.0\ngyp ERR! nw-gyp -v v0.12.4\ngyp ERR! not ok \n]\n killed: false,\n code: 1,\n signal: null,\n cmd: '/bin/sh -c /Users/bso/xdk6/node_modules/nodegit/node_modules/.bin/nw-gyp rebuild --target=0.11.7-rc3' }\nundefined\n\n\u003e nodegit@0.3.3 postinstall /Users/bso/xdk6/node_modules/nodegit\n\u003e node lifecycleScripts/clean\n","author":{"url":"https://github.com/bso-intel","@type":"Person","name":"bso-intel"},"datePublished":"2015-05-04T15:46:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/558/nodegit/issues/558"}
| 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:ebf3571e-601a-d20f-605b-a0782db4c53a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E450:116E4B:3F3AF1C:52CD1F8:6A5D2622 |
| html-safe-nonce | a0c20e17c6ae78ea5e8e05b0e4ed1e12a9b7dc02c6a704005ec8d0c1ed501dab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDUwOjExNkU0QjozRjNBRjFDOjUyQ0QxRjg6NkE1RDI2MjIiLCJ2aXNpdG9yX2lkIjoiOTE1MDEyMzUyMzE4NDYwMDYxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3bc5c28fb54820cb7fe740bf21ce7f7dcbfc5a0d8e7c5ea298401295811d9454 |
| hovercard-subject-tag | issue:73056127 |
| 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/558/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a70fceebcb97a36f553b2e7d647e48c5985b481be2fb9156926eefa539d87e9c/nodegit/nodegit/issues/558 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a70fceebcb97a36f553b2e7d647e48c5985b481be2fb9156926eefa539d87e9c/nodegit/nodegit/issues/558 |
| og:image:alt | I followed the instruction to include the "engine": { "nw.js": "0.11.7-rc3" }. I ran "npm install nodegit" it failed on both windows7 and ios 10.10. (64bit OSes, but ny nw.js is 32bit) It seems bas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bso-intel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width