You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 2, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 2, 2026. It is now read-only.
cant install nodegit if the directive name in the path has space #1082
`{ Error: Command failed: /Users/luffyzc/My Program/Nodejs/API Documentation/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/luffyzc/My Program/Nodejs/API Documentation/nodegit/vendor/openssl/openssl
/bin/sh: /Users/luffyzc/My: No such file or directory
at ChildProcess.exithandler (child_process.js:202:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:850:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:492:12)
killed: false,
code: 127,
signal: null,
cmd: '/Users/luffyzc/My Program/Nodejs/API Documentation/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/luffyzc/My Program/Nodejs/API Documentation/nodegit/vendor/openssl/openssl' }
/bin/sh: /Users/luffyzc/My: No such file or directory
[nodegit] ERROR - Could not finish preinstall
{ Error: Command failed: /Users/luffyzc/My Program/Nodejs/API Documentation/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/luffyzc/My Program/Nodejs/API Documentation/nodegit/vendor/openssl/openssl
/bin/sh: /Users/luffyzc/My: No such file or directory
at ChildProcess.exithandler (child_process.js:202:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:850:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:492:12)
According to this error message/bin/sh: /Users/luffyzc/My: No such file or directory I think it get failed when it process the path which has directive "My Program". So i tried to install at other path, it works, and i went back to change the directive name to remove the space in the directive name , it works this time.
So I guess this preinstall has some problem when it process path with complicate directive name with space like"My Program". Hope this can be fixed.
Activity
johnhaley81 commentedon Jan 27, 2017
Should be fixed on master.