Closed abastardi closed 1 month ago
@abastardi, the latest version of Bun is v1.1.18, but this crash was reported on Bun v1.1.17.
Are you able to reproduce this crash on the latest version of Bun?
bun upgrade
@abastardi, the latest version of Bun is v1.1.18, but this crash was reported on Bun v1.1.17.
Are you able to reproduce this crash on the latest version of Bun?
bun upgrade
Yes, same exact error after upgrading bun.
sad
Same problem here, began on Bun 1.1.17, upgraded to 1.1.18, same problem.
Ran iex "& {$(irm https://bun.sh/install.ps1)} -Version 1.1.16"
on Powershell to downgrade to Bun on 1.1.16
Same problem.
Ran the exact same command but for Bun 1.1.6, same problem.
Maybe it is shadcn-svelte or Windows 10? I have never had a problem with this up until now using Windows 11 and the newer version of Bun and shadcn-svelte.
Was able to get something working, these were the exact commands I used:
Initialize a Svelte project
bun create svelte@latest
Install Vite 4.4.0 (?) For some reason, a plain vanilla Svelte project can't even install anymore without this. I believe this might be the big problem, but have no clue why Found here: https://stackoverflow.com/questions/77583341/cannot-find-module-rollup-rollup-win32-x64-msvc-npm-has-a-bug-related-to-optio (Top commend, the one by Toànn)
bun install vite@4.4.0
bun update
(Changes occurred)
bun install
(No changes)
bunx @svelte-add/tailwindcss@latest
src/app.css
tailwind.config.ts
$lib/components
$lib/utils
bunx shadcn-svelte@latest init
src/app.css
(not a typo, edited this manually from src\app.css
)tailwind.config.ts
$lib/components
$lib/utils
bun update
(No changes)
bun install
(No changes)
bunx shadcn-svelte@latest add button
All successful, no errors.
Tried both Windows 10 and Windows 11 on the latest version of Bun, both had the same problem. In the meantime I will have to use node until this is fixed.
duplicate of https://github.com/oven-sh/bun/issues/12208
How can we reproduce the crash?
On Windows 11 in Powershell, run (as per https://www.shadcn-svelte.com/docs/installation/sveltekit):
Relevant log output
Stack Trace (bun.report)
Bun v1.1.17 (
bb66bba
) on windows x86_64 [AutoCommand]Segmentation fault at address 0x00000005
??