-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
package.json file
{
"name": "bun-react-template",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "bun --hot src/index.ts",
"start": "NODE_ENV=production bun src/index.ts",
"build": "bun run build.ts"
},
"dependencies": {
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-slot": "^1.2.3",
"bun-plugin-tailwind": "^0.1.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.545.0",
"react": "^19",
"react-dom": "^19",
"tailwind-merge": "^3.3.1"
},
"devDependencies": {
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/bun": "latest",
"tailwindcss": "^4.1.11",
"tw-animate-css": "^1.4.0"
}
}How can we reproduce the crash?
Whenever I use bun install or bun create, when it enqueue the packages for download, it just freezes.
I first noticed this bug with bun 1.3.4, I tried downgrading and testing with each release down to 1.2.23, without success.
My config:
Host: 550XDA P23CFB
Kernel: 6.14.0-36-generic
Shell: zsh 5.9
CPU: 11th Gen Intel i5-1135G7 (8) @ 4.200GHz
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]
Memory: 7664MiB
Relevant log output
The current log, running `bun install` with the 1.2.23 version until it freezes:
bun install --verbose
bun install v1.2.23 (cf136713)
Enqueue package manifest for download: @types/bun
Enqueue package manifest for download: @types/react
Enqueue package manifest for download: @types/react-dom
Enqueue package manifest for download: tailwindcss
Enqueue package manifest for download: tw-animate-css
Enqueue package manifest for download: @radix-ui/react-label
Enqueue package manifest for download: @radix-ui/react-select
Enqueue package manifest for download: @radix-ui/react-slot
Enqueue package manifest for download: bun-plugin-tailwind
Enqueue package manifest for download: class-variance-authority
Enqueue package manifest for download: clsx
Enqueue package manifest for download: lucide-react
Enqueue package manifest for download: react
Enqueue package manifest for download: react-dom
Enqueue package manifest for download: tailwind-merge
🔍 Resolving [1/15]
====================================================================
The logs when I try `bun install` with the current release (1.3.4):
bun install v1.3.4 (5eb2145b)
Enqueue package manifest for download: @types/bun
Enqueue package manifest for download: @types/react
Enqueue package manifest for download: @types/react-dom
Enqueue package manifest for download: tailwindcss
Enqueue package manifest for download: tw-animate-css
Enqueue package manifest for download: @radix-ui/react-label
Enqueue package manifest for download: @radix-ui/react-select
Enqueue package manifest for download: @radix-ui/react-slot
Enqueue package manifest for download: bun-plugin-tailwind
Enqueue package manifest for download: class-variance-authority
Enqueue package manifest for download: clsx
Enqueue package manifest for download: lucide-react
Enqueue package manifest for download: react
Enqueue package manifest for download: react-dom
Enqueue package manifest for download: tailwind-merge
🔍 Resolving [1/15]
It freezes there and never downloads anything.Stack Trace (bun.report)
bun install v1.3.4 (5eb2145)
Enqueue package manifest for download: @types/bun
Enqueue package manifest for download: @types/react
Enqueue package manifest for download: @types/react-dom
Enqueue package manifest for download: tailwindcss
Enqueue package manifest for download: tw-animate-css
Enqueue package manifest for download: @radix-ui/react-label
Enqueue package manifest for download: @radix-ui/react-select
Enqueue package manifest for download: @radix-ui/react-slot
Enqueue package manifest for download: bun-plugin-tailwind
Enqueue package manifest for download: class-variance-authority
Enqueue package manifest for download: clsx
Enqueue package manifest for download: lucide-react
Enqueue package manifest for download: react
Enqueue package manifest for download: react-dom
Enqueue package manifest for download: tailwind-merge
🔍 Resolving [1/15]