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

fix: failure when build directory contains spaces #204

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tombruijn
Copy link

Fix an installation issue that occurs when a path in which node-gyp is run contains spaces.

For a path like my app, it would error with this message:

clang: error: no such file or directory: 'app/node_modules/node-addon-api'

The "my" part before the space (and the rest of the path before it) would be missing from the path in the error message.

Fixes nodejs/node-gyp#65

Fix an installation issue that occurs when a path in which node-gyp is
run contains spaces.

For a path like `my app`, it would error with this message:

```
clang: error: no such file or directory: 'app/node_modules/node-addon-api'
```

The "my" part before the space (and the rest of the path before it)
would be missing from the path in the error message.

Fixes nodejs/node-gyp#65
@tombruijn tombruijn force-pushed the fix-includes-path-with-spaces branch from a1e7c01 to 87c51bf Compare October 30, 2023 15:30
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

Successfully merging this pull request may close these issues.

Build failure when builddir contains spaces.
2 participants