Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails if path contains spaces #93

Closed
curana opened this issue Jul 5, 2012 · 1 comment
Closed

Build fails if path contains spaces #93

curana opened this issue Jul 5, 2012 · 1 comment

Comments

@curana
Copy link

curana commented Jul 5, 2012

Hi,

On Mac OS my user directory contains a space (Macintosh HD) so build fails seems:

> iconv@1.2.1 install /Volumes/Macintosh HD/Users/test/code/node_modules/mailparser/node_modules/iconv
> node-gyp rebuild

  CC(target) Release/obj.target/iconv/deps/libiconv/libcharset/lib/localcharset.o
clang: error: no such file or directory: 'HD/Users/test/.node-gyp/c/.node-gyp/0.8.1/src'
clang: error: no such file or directory: 'HD/Users/test/.node-gyp/0.8.1/deps/uv/include'
clang: error: no such file or directory: 'HD/Users/test/.node-gyp/0.8.1/deps/v8/include'
make: *** [Release/obj.target/iconv/deps/libiconv/libcharset/lib/localcharset.o] Error 1
gyp ERR! rebuild error Error: `make` failed with exit code: 2
gyp ERR! rebuild error     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:214:23)
gyp ERR! rebuild error     at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! rebuild error     at Process._handle.onexit (child_process.js:674:10)
gyp ERR! not ok 
npm ERR! iconv@1.2.1 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
@TooTallNate
Copy link
Contributor

Yes, this is a gyp bug. It may be fixed in the latest update of gyp inside node, which will be available in the v0.8.3 release, but I haven't checked yet.

Closing though, since this is a duplicate of #65.

targos pushed a commit to targos/node-gyp that referenced this issue Aug 22, 2021
‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants