Skip to content

fix: Correctly quote NODE_OPTIONS when spaces occur in paths#129

Merged
dividedmind merged 1 commit intomainfrom
fix/spaces-in-paths
Mar 19, 2024
Merged

fix: Correctly quote NODE_OPTIONS when spaces occur in paths#129
dividedmind merged 1 commit intomainfrom
fix/spaces-in-paths

Conversation

@dividedmind
Copy link
Copy Markdown
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
Copy Markdown
Contributor

@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
Copy Markdown
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
@dividedmind dividedmind deleted the fix/spaces-in-paths branch March 19, 2024 14:32
@appland-release
Copy link
Copy Markdown

🎉 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