Windows drive letters (C:) get misinterpreted as remote host names by tar.
@@ -24,7 +24,7 @@ async function extractPackedPackageJson(packDir: string) {
throw new Error(`Expected exactly one tarball in ${packDir}, found ${tgzFiles.length}`);
}
- return execFileSync("tar", ["-xOf", join(packDir, tgzFiles[0]), "package/package.json"], {
+ return execFileSync("tar", ["--force-local", "-xOf", join(packDir, tgzFiles[0]), "package/package.json"], {
cwd: workspaceRoot,
encoding: "utf-8",
});