node_gyp error <string>:268: SyntaxWarning: invalid escape sequence '\/' (reproducible, works ok in npm)
#1235
Steps to reproduce (on Windows):
|
Replies: 2 comments
|
Thanks for the detailed reproduction. The Python The root cause is a Windows/global-virtual-store path mismatch. Dependency lifecycle scripts run through the logical #1238 fixes this by canonicalizing isolated dependency build directories before running lifecycle scripts, including the rebuild path. Until that lands, disabling the global virtual store should work around it: aube --disable-global-virtual-store a -g just-bash --allow-build=node-liblzma --allow-build=@mongodb-js/zstdAI-assisted — Tool: Codex; model: OpenAI/GPT-5; version: unavailable. |
|
Awesome @jdx 🔥 Thank you! ✅ Fixed in #1238, released in aube v1.38.0, tested OK |
Thanks for the detailed reproduction. The Python
SyntaxWarningis incidental; the actual failure is the followingnode_api.gyp not founderror.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 resolvenode-addon-apithrough 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…