chrisa / node-dtrace-provider

Native DTrace probes for node.js apps
Other
321 stars 68 forks source link

Fails to build if there's a space in the directory tree #37

Closed rhrao closed 10 years ago

rhrao commented 10 years ago

I was trying to install bunyan earlier today and dtrace-provider is an optional component for bunyan. gyp was throwing errors because it could not "find" the directory. I went through the console output and saw that it was not displaying one of the parent directory's name properly as there was a space in the name. I renamed the parent dir (removed the space) and tried installing bunyan again and it worked.

trentm commented 10 years ago

As I understand it, this is actually: https://github.com/TooTallNate/node-gyp/issues/65

rhrao commented 10 years ago

Oh! Awesome. You're absolutely right. Thanks for that @trentm !

Glavin001 commented 10 years ago

Is there a solution without removing the space from the directory? I'd strongly prefer not to have to rename path to contain no spaces. Any help would be really appreciated!

chrisa commented 10 years ago

I don't think there's anything we can do in this module as a user of node-gyp - TooTallNate/node-gyp#65 is the issue, and any fix or workaround would have to be there, I think.

Glavin001 commented 10 years ago

Thank you for your reply, @chrisa. This is unfortunate, I will keep looking into the node-gyp issue #65. Hopefully there's something that resolved this issue. Thanks again!