--- a/scripts/hak/hakEnv.ts +++ b/scripts/hak/hakEnv.ts @@ -101,11 +101,10 @@ ...process.env, npm_config_arch: this.target.arch, npm_config_target_arch: this.target.arch, - npm_config_disturl: "https://electronjs.org/headers", + npm_config_nodedir: "/usr/include/electron/node_headers", npm_config_runtime: this.runtime, npm_config_target: this.runtimeVersion, npm_config_build_from_source: "true", - npm_config_devdir: path.join(os.homedir(), ".electron-gyp"), }; }