You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using vercel to deploy my site. I always get this error (Please check the logs below) and the build stops. It seems to be coming from svelte-i18n package. I use Bun.js as well as the js runtime. Not sure if that is the problem.
Logs
[18:33:04.512] Running build in Washington, D.C., USA (East) – iad1
[18:33:04.637] Cloning github.com/.....
[18:33:05.142] Cloning completed: 504.886ms
[18:33:06.457] Restored build cache
[18:33:06.549] Running "vercel build"
[18:33:07.032] Vercel CLI 33.5.2
[18:33:07.676] Installing dependencies...
[18:33:07.718] [0.12ms] ".env"
[18:33:07.724] bun install v1.0.28 (70563847)
[18:33:07.731] Resolving dependencies
[18:33:07.900] Resolved, downloaded and extracted [2]
[18:33:07.903] Saved lockfile
[18:33:08.164] /vercel/path0/node_modules/svelte-i18n/node_modules/esbuild/install.js:133
[18:33:08.165] throw new Error(Expected ${JSON.stringify(versionFromPackageJSON)} but got ${JSON.stringify(stdout)});
[18:33:08.165] ^
[18:33:08.166]
[18:33:08.166] Error: Expected "0.19.10" but got "0.19.12"
[18:33:08.166] at validateBinaryVersion (/vercel/path0/node_modules/svelte-i18n/node_modules/esbuild/install.js:133:11)
[18:33:08.167] at /vercel/path0/node_modules/svelte-i18n/node_modules/esbuild/install.js:286:5
[18:33:08.167]
[18:33:08.167] Node.js v18.18.2
[18:33:08.167]
[18:33:08.167] error: postinstall script from "esbuild" exited with 1
[18:33:08.171] Error: Command "bun install" exited with 1
[18:33:08.708]
Describe the bug
Hi guys,
I have been using vercel to deploy my site. I always get this error (Please check the logs below) and the build stops. It seems to be coming from svelte-i18n package. I use Bun.js as well as the js runtime. Not sure if that is the problem.
Logs
[18:33:04.512] Running build in Washington, D.C., USA (East) – iad1
[18:33:04.637] Cloning github.com/.....
[18:33:05.142] Cloning completed: 504.886ms
[18:33:06.457] Restored build cache
[18:33:06.549] Running "vercel build"
[18:33:07.032] Vercel CLI 33.5.2
[18:33:07.676] Installing dependencies...
[18:33:07.718] [0.12ms] ".env"
[18:33:07.724] bun install v1.0.28 (70563847)
[18:33:07.731] Resolving dependencies
[18:33:07.900] Resolved, downloaded and extracted [2]
[18:33:07.903] Saved lockfile
[18:33:08.164] /vercel/path0/node_modules/svelte-i18n/node_modules/esbuild/install.js:133
[18:33:08.165] throw new Error(
Expected ${JSON.stringify(versionFromPackageJSON)} but got ${JSON.stringify(stdout)}
);[18:33:08.165] ^
[18:33:08.166]
[18:33:08.166] Error: Expected "0.19.10" but got "0.19.12"
[18:33:08.166] at validateBinaryVersion (/vercel/path0/node_modules/svelte-i18n/node_modules/esbuild/install.js:133:11)
[18:33:08.167] at /vercel/path0/node_modules/svelte-i18n/node_modules/esbuild/install.js:286:5
[18:33:08.167]
[18:33:08.167] Node.js v18.18.2
[18:33:08.167]
[18:33:08.167] error: postinstall script from "esbuild" exited with 1
[18:33:08.171] Error: Command "bun install" exited with 1
[18:33:08.708]
The packages which I use in my site:
"devDependencies": {
"@biomejs/biome": "^1.5.3",
"@skeletonlabs/skeleton": "^2.6.1",
"@skeletonlabs/tw-plugin": "^0.3.0",
"@sveltejs/adapter-auto": "^3.1.0",
"@sveltejs/kit": "^2.0.6",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@types/js-cookie": "^3.0.6",
"@vercel/analytics": "^1.2.2",
"autoprefixer": "^10.4.16",
"js-cookie": "^3.0.5",
"postcss": "^8.4.32",
"svelte": "^4.2.8",
"svelte-i18n": "^4.0.0",
"tailwindcss": "^3.4.0",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"vite-plugin-tailwind-purgecss": "^0.2.0"
},
To Reproduce
Create a new svelte project, use the above packages espically svelte-i18n, and try to deploy in vercel
Expected behavior
Success Build and Deployment
Information about your project:
svelte-i18n
version 4.0.0The text was updated successfully, but these errors were encountered: