Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

Fails to install on Mac OSX, if filepath has a space in it. #128

Closed
davidjbradshaw opened this issue Sep 30, 2014 · 2 comments
Closed

Fails to install on Mac OSX, if filepath has a space in it. #128

davidjbradshaw opened this issue Sep 30, 2014 · 2 comments

Comments

@davidjbradshaw
Copy link

This fails to install if path to home folder has a space in it. My home folder is as follows

/Volumes/Data SSD/Users/Dave

Here's the install log getting the path to ~ wrong and then crashing.

==> npm install git://github.com/brianmcd/contextify
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/nan

> [email protected] install /Volumes/Data SSD/Users/dave/dev/webexNode/node_modules/contextify
> node-gyp rebuild

  CXX(target) Release/obj.target/contextify/src/contextify.o
clang: error: no such file or directory: 'SSD/Users/dave/.node-gyp/0.10.26/src'
clang: error: no such file or directory: 'SSD/Users/dave/.node-gyp/0.10.26/deps/uv/include'
clang: error: no such file or directory: 'SSD/Users/dave/.node-gyp/0.10.26/deps/v8/include'
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "node" "/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Volumes/Data SSD/Users/dave/dev/webexNode/node_modules/contextify
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok 
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.4.0
npm ERR! command "/usr/local/Cellar/node/0.10.26/bin/node" "/usr/local/bin/npm" "install" "git://github.com/brianmcd/contextify"
npm ERR! cwd /Volumes/Data SSD/Users/dave/dev/webexNode
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Volumes/Data SSD/Users/dave/dev/webexNode/npm-debug.log
npm ERR! not ok code 0
@davidjbradshaw davidjbradshaw changed the title Fails to install on Mac OSX, if file path has a space in it. Fails to install on Mac OSX, if filepath has a space in it. Sep 30, 2014
@streiten
Copy link

same here

@kkoopa
Copy link
Collaborator

kkoopa commented Dec 19, 2014

Not our problem, blame gyp. nodejs/node-gyp#65

@kkoopa kkoopa closed this as completed Dec 19, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants