Skip to content
Discussion options

You must be logged in to vote

Thanks for the detailed reproduction. The Python SyntaxWarning is incidental; the actual failure is the following node_api.gyp not found error.

The root cause is a Windows/global-virtual-store path mismatch. Dependency lifecycle scripts run through the logical node_modules/.aube/... junction, while node-gyp can resolve node-addon-api through its physical graph-hashed global-store path. On Windows, the logical working directory is preserved, so node-gyp interprets the resolved GYP path in the wrong namespace.

#1238 fixes this by canonicalizing isolated dependency build directories before running lifecycle scripts, including the rebuild path. Until that lands, disabling the global virtual s…

Replies: 2 comments

Comment options

jdx
Aug 6, 2026 — with coder-jdx
Maintainer

You must be logged in to vote
0 replies
Answer selected by iki
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants