Title: Install fails on Windows with space in directory name · Issue #850 · nodegit/nodegit · GitHub
Open Graph Title: Install fails on Windows with space in directory name · Issue #850 · nodegit/nodegit
X Title: Install fails on Windows with space in directory name · Issue #850 · nodegit/nodegit
Description: [nodegit] Everything is ready to go, attempting compilation { [Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "C:\Users\...\Open\ Source\...\node_modules\nodegit\node_modules\.bin\node-gyp rebuild" 'C:\Users\...\Open\' is not r...
Open Graph Description: [nodegit] Everything is ready to go, attempting compilation { [Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "C:\Users\...\Open\ Source\...\node_modules\nodegit\node_modules\.bin\node-gy...
X Description: [nodegit] Everything is ready to go, attempting compilation { [Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "C:\Users\...\Open\ Source\...\node_modules\nodegit\node_modules\.bin\no...
Opengraph URL: https://github.com/nodegit/nodegit/issues/850
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Install fails on Windows with space in directory name","articleBody":"\u003e [nodegit] Everything is ready to go, attempting compilation\n\u003e { [Error: Command failed: `C:\\WINDOWS\\system32\\cmd.exe /s /c \"C:\\Users\\...\\Open\\ Source\\...\\node_modules\\nodegit\\node_modules\\.bin\\node-gyp rebuild\"`\n\u003e `'C:\\Users\\...\\Open\\'` is not recognized as an internal or external command,\n\u003e operable program or batch file.\n\u003e ]\n\nWindows does not allow `\\` to escape spaces. \n\nThere are two solutions:\n1. Remove the `\\`s as well as the `/s` flag. `cmd` will then treat the quotes as part of the command to execute\n2. Remove the `\\`s, but keep the `/s` flag. Then, wrap both the entire command and the pass to `node-gyp` in quotes: \n `cmd /s /c \"\".../node-gyp\" rebuild\"`\n","author":{"url":"https://github.com/SLaks","@type":"Person","name":"SLaks"},"datePublished":"2016-01-05T14:50:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/850/nodegit/issues/850"}
| 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:a2c0aa56-adba-bec3-4e8b-92105f0df865 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8E2:2FC8B3:16AB1F8:1DCBB97:6A5C6C35 |
| html-safe-nonce | 90f337727ad75d9dc9448be8c0bb84ca098a167d404a8f8c6aee338e39acc1ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEUyOjJGQzhCMzoxNkFCMUY4OjFEQ0JCOTc6NkE1QzZDMzUiLCJ2aXNpdG9yX2lkIjoiNDcxMTg2NjkwOTc4MDExMDM4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 759730b5130be64d193115bbfdce03d1deb72d6508c6021ad29ab8a94008e668 |
| hovercard-subject-tag | issue:124980987 |
| 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/850/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6336bb47ebb187a48cd80cde9d5053942758512722439a9ca1e2afb3d810e715/nodegit/nodegit/issues/850 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6336bb47ebb187a48cd80cde9d5053942758512722439a9ca1e2afb3d810e715/nodegit/nodegit/issues/850 |
| og:image:alt | [nodegit] Everything is ready to go, attempting compilation { [Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "C:\Users\...\Open\ Source\...\node_modules\nodegit\node_modules\.bin\node-gy... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SLaks |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width