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 fails if trying to install Rocicorp zero #16510

Open
soyboi opened this issue Jan 18, 2025 · 0 comments
Open

Bun fails if trying to install Rocicorp zero #16510

soyboi opened this issue Jan 18, 2025 · 0 comments
Labels
crash An issue that could cause a crash windows An issue that is known to occur on Windows

Comments

@soyboi
Copy link

soyboi commented Jan 18, 2025

package.json file

{
  "name": "guessr",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "tsc -b && vite build",
    "preview": "vite preview",
    "format": "biome format --write .",
    "lint": "biome lint --write .",
    "lint:check": "biome lint .",
    "tsc": "tsc --noEmit"
  },
  "dependencies": {
    "@rocicorp/zero": "^0.11.2025011402",
    "react": "^19.0.0",
    "react-dom": "^19.0.0"
  },
  "devDependencies": {
    "@biomejs/biome": "^1.9.4",
    "@eslint/js": "^9.17.0",
    "@types/react": "^19.0.7",
    "@types/react-dom": "^19.0.3",
    "@vitejs/plugin-react": "^4.3.4",
    "globals": "^15.14.0",
    "typescript-eslint": "^8.18.2",
    "vite": "^6.0.5"
  }
}

How can we reproduce the crash?

Try to install @rocicorp/zero@latest

tried with latest and canary versions of both zero and bun

Relevant log output

bun install v1.1.45-canary.17 (87dedd10)
  🔍 Resolving [1/1] ============================================================
Bun Canary v1.1.45-canary.17 (87dedd10) Windows x64
Windows v.win10_fe
CPU: sse42 avx avx2
Args: "C:\Program Files\nodejs\node_modules\bun\bin\bun.exe" "install"
Elapsed: 96ms | User: 31ms | Sys: 0ms
RSS: 77.68MB | Peak: 77.69MB | Commit: 0.15GB | Faults: 19194

panic(thread 16612): Internal assertion failure src/install/npm.zig:2407:66
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Stack Trace (bun.report)

Bun v1.1.45 (196621f) on windows x86_64 [InstallCommand]

panic: Internal assertion failure src/install/npm.zig:2407:66

Features: dotenv

Sentry Issue: BUN-BC8

@soyboi soyboi added the crash An issue that could cause a crash label Jan 18, 2025
@github-actions github-actions bot added the windows An issue that is known to occur on Windows label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash windows An issue that is known to occur on Windows
Projects
None yet
Development

No branches or pull requests

1 participant