Charlie 家
Charlie 家
CDCloudflare Developers
Created by Charlie 家 on 4/11/2025 in #pages-help
pages bug in bunjs
Bun v1.2.9 is installed successfully! 09:41:23.819 Executing user command: bun run build 09:41:24.024 $ bunx --bun vite build 09:41:24.043 Resolving dependencies 09:41:24.537 Resolved, downloaded and extracted [130] 09:41:24.684 130 | ); 09:41:24.684 131 | } 09:41:24.684 132 | throw err; 09:41:24.684 133 | } 09:41:24.684 134 | if (stdout !== versionFromPackageJSON) { 09:41:24.685 135 | throw new Error(Expected ${JSON.stringify(versionFromPackageJSON)} but got ${JSON.stringify(stdout)}`); 09:41:24.685 ^ 09:41:24.685 error: Expected "0.25.2" but got "" 09:41:24.685 at validateBinaryVersion (/tmp/bunx-2500-vite@latest/node_modules/esbuild/install.js:135:11) 09:41:24.685 at <anonymous> (/tmp/bunx-2500-vite@latest/node_modules/esbuild/install.js:285:5) 09:41:24.685
09:41:24.686 Bun v1.2.9 (Linux x64) 09:41:24.686
09:41:24.686 error: postinstall script from "esbuild" exited with 1 09:41:24.690 error: script "build" exited with code 1 09:41:24.692 Failed: Error while executing user command. Exited with error code: 1 09:41:24.704 Failed: build command exited with code: 1 09:41:25.757 Failed: error occurred while running build command this error on bunjs with vitejs
2 replies