N
Nuxt9mo ago
isakwang

Error with node version on build

Hello Im getting this weird error when trying to deploy to vercel about the wrong version of esbuild. Can't find any info on google either. As far as i can tell if references the node version in package.json, but there has never been a node version there before [00:00:11.797] Running build in Washington, D.C., USA (East) – iad1 [00:00:11.905] Retrieving list of deployment files... [00:00:12.362] Downloading 89 deployment files... [00:00:15.778] Restored build cache [00:00:15.848] Running "vercel build" [00:00:16.357] Vercel CLI 33.5.4 [00:00:17.209] Installing dependencies... [00:00:17.260] bun install v1.0.30 (1424a196) [00:00:17.273] Resolving dependencies [00:00:17.598] Resolved, downloaded and extracted [2] [00:00:17.605] Saved lockfile [00:00:18.776] /vercel/path0/node_modules/vite/node_modules/esbuild/install.js:133 [00:00:18.776] throw new Error(Expected ${JSON.stringify(versionFromPackageJSON)} but got ${JSON.stringify(stdout)}); [00:00:18.776] ^ [00:00:18.777] [00:00:18.777] Error: Expected "0.19.12" but got "0.20.1" [00:00:18.777] at validateBinaryVersion (/vercel/path0/node_modules/vite/node_modules/esbuild/install.js:133:11) [00:00:18.777] at /vercel/path0/node_modules/vite/node_modules/esbuild/install.js:286:5 [00:00:18.777] [00:00:18.777] Node.js v20.11.1 [00:00:18.777] [00:00:18.778] error: postinstall script from "esbuild" exited with 1 [00:00:18.799] Error: Command "bun install" exited with 1 [00:00:19.545]
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server