File esbuild_version.patch of Package code
Do not expect a specific esbuild version.
--- a/build/node_modules/esbuild/install.js
+++ a/build/node_modules/esbuild/install.js
@@ -92,7 +92,7 @@
}
throw err;
}
- if (stdout !== versionFromPackageJSON) {
+ if (0) {
throw new Error(`Expected ${JSON.stringify(versionFromPackageJSON)} but got ${JSON.stringify(stdout)}`);
}
}
--- vendor/build/node_modules/esbuild/lib/main.js.orig 2025-03-05 20:01:52.590169369 +0100
+++ vendor/build/node_modules/esbuild/lib/main.js 2025-03-05 20:08:26.380050470 +0100
@@ -664,7 +664,6 @@ function createChannel(streamIn) {
isFirstPacket = false;
let binaryVersion = String.fromCharCode(...bytes);
if (binaryVersion !== "0.25.0") {
- throw new Error(`Cannot start service: Host version "${"0.25.0"}" does not match binary version ${quote(binaryVersion)}`);
}
return;
}