Index: deps/npm/node_modules/node-gyp/lib/install.js
--- deps/npm/node_modules/node-gyp/lib/install.js.orig
+++ deps/npm/node_modules/node-gyp/lib/install.js
@@ -172,7 +172,7 @@ async function install (gyp, argv) {
     }
 
     // now download the node tarball
-    const tarPath = gyp.opts.tarball
+    const tarPath = gyp.opts.tarball || '${LOCALBASE}/share/node/node-${NODE_VERSION}-headers.tar.gz'
     let extractErrors = false
     let extractCount = 0
     const contentShasums = {}
