Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bun crash when running nextjs server #10799

Open
theodore-zd opened this issue May 3, 2024 · 0 comments
Open

Bun crash when running nextjs server #10799

theodore-zd opened this issue May 3, 2024 · 0 comments
Labels
bug Something isn't working crash An issue that could cause a crash

Comments

@theodore-zd
Copy link

How can we reproduce the crash?

It's a pretty minimal project dependency list is here mostly UI libraries

    "@headlessui/react": "^1.7.19",
    "@hookform/resolvers": "^3.3.4",
    "@iconify/react": "^4.1.1",
    "@radix-ui/react-avatar": "^1.0.4",
    "@radix-ui/react-dialog": "^1.0.5",
    "@radix-ui/react-dropdown-menu": "^2.0.6",
    "@radix-ui/react-label": "^2.0.2",
    "@radix-ui/react-progress": "^1.0.3",
    "@radix-ui/react-select": "^2.0.0",
    "@radix-ui/react-separator": "^1.0.3",
    "@radix-ui/react-slot": "^1.0.2",
    "@radix-ui/react-switch": "^1.0.3",
    "@radix-ui/react-tabs": "^1.0.4",
    "@radix-ui/react-tooltip": "^1.0.7",
    "@tanstack/react-table": "^8.16.0",
    "class-variance-authority": "^0.7.0",
    "clsx": "^2.1.1",
    "drizzle-orm": "^0.30.9",
    "lucide-react": "^0.372.0",
    "next": "14.2.2",
    "postgres": "^3.4.4",
    "react": "^18",
    "react-dom": "^18",
    "react-hook-form": "^7.51.3",
    "tailwind-merge": "^2.3.0",
    "tailwindcss-animate": "^1.0.7",
    "zod": "^3.23.0",
    "zustand": "^4.5.2"
  },
  "devDependencies": {
    "@iconify-icon/react": "^2.1.0",
    "@types/node": "^20",
    "@types/react": "^18",
    "@types/react-dom": "^18",
    "drizzle-kit": "^0.20.17",
    "eslint": "^8",
    "eslint-config-next": "14.2.2",
    "postcss": "^8",
    "tailwindcss": "^3.4.1",
    "typescript": "^5"
  }``

### Relevant log output

```shell
PS F:\Desktop\swords-slimes\nextjs> bun --bun run dev
$ next dev
  ▲ Next.js 14.2.2
  - Local:        http://localhost:3000
  - Environments: .env

 ✓ Starting...
 ✓ Ready in 3.3s
 ○ Compiling /login ...
 ✓ Compiled /login in 6s (502 modules)
 GET /login 200 in 6357ms
============================================================
Bun v1.1.5 (b257a309) Windows x64
Args: "C:\Users\theod\AppData\Local\Temp\bun-node-b257a3097\node.exe", "F:\Desktop\swords-slimes\nextjs\node_modules\next\dist\server\lib\start-server.js"
Features: Bun.stderr Bun.stdin Bun.stdout dotenv fetch(2) http_server spawn(2) transpiler_cache(30) tsconfig_paths(2) tsconfig(2) 
Builtins: "bun:jsc" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns/promises" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks" "node:querystring" "node:stream" "node:stream/web" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:worker_threads" "ws" "node:v8" "node:diagnostics_channel" 
Elapsed: 32340ms | User: 1859ms | Sys: 218ms
RSS: 0.80GB | Peak: 0.80GB | Commit: 18.62GB | Faults: 259930

panic(main thread): Internal assertion failure
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Stack Trace (bun.report)

Bun v1.1.5 (b257a30) on windows x86_64 [RunAsNodeCommand]

panic: Internal assertion failure

@theodore-zd theodore-zd added bug Something isn't working crash An issue that could cause a crash labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash An issue that could cause a crash
Projects
None yet
Development

No branches or pull requests

1 participant