node-dtrace-provider icon indicating copy to clipboard operation
node-dtrace-provider copied to clipboard

Fails to compile when path contains strange characters

Open simonexmachina opened this issue 8 years ago • 2 comments

dtrace-provider was not compiling for me with the version of Node installed by fnm. After some investigation I discovered that it's because fnm installs node to ~/.config/fnm/bin/node, and on my machine ~/.config is a symlink to ~/Dropbox (Personal)/home-dir/.config. When I moved this folder into ~, so it wasn't a symlink, the problem went away.

simonexmachina avatar Aug 25 '17 04:08 simonexmachina

@aexmachina This seems to be a bug in node-gyp. The line here needs to quote everything that $(builddir) is used in so that the spaces don't become a problem. I'll file a bug against node-gyp, and see if there's any good way for the install scripts to work around it.

melloc avatar Aug 25 '17 20:08 melloc

Thanks @melloc

simonexmachina avatar Aug 29 '17 01:08 simonexmachina