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: Correctly quote NODE_OPTIONS when spaces occur in paths #129

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

dividedmind
Copy link
Collaborator

@dividedmind dividedmind commented Mar 18, 2024

Fixes #122

Note: after merging, the workaround should be removed from docs.

@dividedmind dividedmind marked this pull request as draft March 18, 2024 16:58
@dividedmind dividedmind marked this pull request as ready for review March 18, 2024 17:04
@dividedmind dividedmind force-pushed the fix/spaces-in-paths branch from 841646f to 414f407 Compare March 18, 2024 17:05
@dividedmind dividedmind marked this pull request as draft March 18, 2024 17:08
@dividedmind dividedmind force-pushed the fix/spaces-in-paths branch from 414f407 to 419c5bb Compare March 18, 2024 17:16
This had a workaround but it turns out that it is in fact our bug.
Fixes #122
@dividedmind dividedmind force-pushed the fix/spaces-in-paths branch from 419c5bb to ca9d606 Compare March 18, 2024 18:01
@dividedmind dividedmind marked this pull request as ready for review March 18, 2024 18:05
Copy link
Collaborator

@zermelo-wisen zermelo-wisen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

Seems like the register.js path was the cause. Can't believe I didn't check it, even if I suspected. I was blinded by similar space in path errors reported about npm.

Now I tested it on Windows machine and it definitely works.

@dividedmind
Copy link
Collaborator Author

Seems like the register.js path was the cause. Can't believe I didn't check it, even if I suspected. I was blinded by similar space in path errors reported about npm.

Yeah, it kept bugging me that we couldn't find an issue in npx so I looked into it and there it was :)

@dividedmind dividedmind merged commit 36b5c9e into main Mar 19, 2024
6 checks passed
@dividedmind dividedmind deleted the fix/spaces-in-paths branch March 19, 2024 14:32
@appland-release
Copy link

🎉 This PR is included in version 2.19.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

appmap-node command fails, presumably due to Windows path issue
3 participants