When installing a native module using `node-gyp`, commands fail to run if there is a space in the path anywhere of the CWD. A CWD like `/home/abc/My Awesome Repo/project` will fail. This has been discussed here: https://github.com/kelektiv/node.bcrypt.js/issues/961 and here: https://github.com/nodejs/node-gyp/issues/65 And has been found to be an underlying issue with gyp itself
Activity
recrsn commentedon Oct 6, 2022
There is also a potential fix here: nodejs/node-gyp#2556
but the PR targets the vendored gyp code in node-gyp. It should belong here