Skip to content

build: fix overriding node_path in GN build - #66805

Open
dsanders11 wants to merge 1 commit into
nodejs:mainfrom
dsanders11:patch-4
Open

dsanders11 wants to merge 1 commit into
nodejs:mainfrom
dsanders11:patch-4

Conversation

@dsanders11

Copy link
Copy Markdown
Contributor

Overriding the node_path variable would lead to an error due to the default value for node_module_version using the default value of node_path. GN's documentation calls out this exact issue, so I implemented their suggested solution and added a comment explaining it. Validated the fix in electron/electron#55080

Signed-off-by: David Babenko-Sanders <dsanders11@ucsbalum.com>
@inoway46

Copy link
Copy Markdown
Contributor

https://github.com/nodejs/node/actions/runs/39009516514/job/117328805687?pr=66805

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb2 in position 244: invalid start byte

FYI: This looks like the test runner’s UTF-8 decoding issue addressed by #66783, possibly unrelated to the changes here.

@inoway46 inoway46 added the build Issues and PRs related to Node.js builds or CI infrastructure. label Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to Node.js builds or CI infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants