Title: npm rebuild fails (lifecycleScripts/clean should not delete lifecycleScripts!) · Issue #576 · nodegit/nodegit · GitHub
Open Graph Title: npm rebuild fails (lifecycleScripts/clean should not delete lifecycleScripts!) · Issue #576 · nodegit/nodegit
X Title: npm rebuild fails (lifecycleScripts/clean should not delete lifecycleScripts!) · Issue #576 · nodegit/nodegit
Description: After successfully running npm install --save nodegit, a subsequent npm rebuild yields: > nodegit@0.4.0 install /Users/michael/whatever/node_modules/nodegit > node lifecycleScripts/install module.js:340 throw err; ^ Error: Cannot find mo...
Open Graph Description: After successfully running npm install --save nodegit, a subsequent npm rebuild yields: > nodegit@0.4.0 install /Users/michael/whatever/node_modules/nodegit > node lifecycleScripts/install module.j...
X Description: After successfully running npm install --save nodegit, a subsequent npm rebuild yields: > nodegit@0.4.0 install /Users/michael/whatever/node_modules/nodegit > node lifecycleScripts/install mo...
Opengraph URL: https://github.com/nodegit/nodegit/issues/576
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"npm rebuild fails (lifecycleScripts/clean should not delete lifecycleScripts!)","articleBody":"After successfully running `npm install --save nodegit`, a subsequent `npm rebuild` yields:\n\n``` console\n\u003e nodegit@0.4.0 install /Users/michael/whatever/node_modules/nodegit\n\u003e node lifecycleScripts/install\n\n\nmodule.js:340\n throw err;\n ^\nError: Cannot find module '/Users/michael/whatever/node_modules/nodegit/lifecycleScripts/install'\n at Function.Module._resolveFilename (module.js:338:15)\n at Function.Module._load (module.js:280:25)\n at Function.Module.runMain (module.js:497:10)\n at startup (node.js:119:16)\n at node.js:935:3\n```\n\nProbably because the install script deletes the lifecycleScripts directory!\n\nhttps://github.com/nodegit/nodegit/blob/0841799b5d3fe0627aa3c741d65069de6e1798fa/lifecycleScripts/clean.js#L46\n","author":{"url":"https://github.com/mhart","@type":"Person","name":"mhart"},"datePublished":"2015-05-18T21:09:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/576/nodegit/issues/576"}
| 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:08a58fda-d2a2-5c26-31dd-2d8bc2d4acf2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDD0:22AFD6:603BFCE:7EA98A8:6A5DC107 |
| html-safe-nonce | 6fae771b0c7486e8419e57902e69f088e8998931e119f1e45ad594b3981617b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREQwOjIyQUZENjo2MDNCRkNFOjdFQTk4QTg6NkE1REMxMDciLCJ2aXNpdG9yX2lkIjoiODY4NDQ3NzEwNTAwMjA4OTAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2d06868e7e39cf9840ee0756b2e1aff23f147bbd7eda9fb9806e1bb4abc313c3 |
| hovercard-subject-tag | issue:77806235 |
| 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/576/issue_layout |
| twitter:image | https://opengraph.githubassets.com/41430837fe706f8fbfc42ba9177c696d857038763a05341804f3901dc72e9972/nodegit/nodegit/issues/576 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/41430837fe706f8fbfc42ba9177c696d857038763a05341804f3901dc72e9972/nodegit/nodegit/issues/576 |
| og:image:alt | After successfully running npm install --save nodegit, a subsequent npm rebuild yields: > nodegit@0.4.0 install /Users/michael/whatever/node_modules/nodegit > node lifecycleScripts/install module.j... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mhart |
| 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