oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.28k stars 2.77k forks source link

panic(main thread): Internal assertion failure #12476

Open hingnyap opened 4 months ago

hingnyap commented 4 months ago

How can we reproduce the crash?

No response

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.18 (5a0b935) on windows x86_64 [InstallCommand]

panic: Internal assertion failure

dylan-conway commented 4 months ago

Duplicate of #9932

dylan-conway commented 4 months ago

Actually I believe this is a separate issue. Could you share the dependencies in your package.json?

hingnyap commented 4 months ago

@dylan-conway thanks for looking into this here is the package.json

{
  "name": "@acme/nextjs",
  "version": "0.1.0",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "pnpm with-env next build",
    "clean": "git clean -xdf .next .turbo node_modules",
    "dev": "pnpm with-env next dev",
    "format": "prettier --check . --ignore-path ../../.gitignore",
    "lint": "eslint",
    "start": "pnpm with-env next start",
    "typecheck": "tsc --noEmit",
    "with-env": "dotenv -e ../../.env --"
  },
  "dependencies": {
    "@acme/api": "*",
    "@acme/auth": "*",
    "@acme/db": "*",
    "@acme/ui": "*",
    "@acme/validators": "*",
    "@t3-oss/env-nextjs": "^0.10.1",
    "@tanstack/react-query": "^5.49.2",
    "@trpc/client": "11.0.0-rc.441",
    "@trpc/react-query": "11.0.0-rc.441",
    "@trpc/server": "11.0.0-rc.441",
    "geist": "^1.3.0",
    "next": "^14.2.4",
    "react": "catalog:react18",
    "react-dom": "catalog:react18",
    "superjson": "2.2.1",
    "zod": "catalog:"
  },
  "devDependencies": {
    "@acme/eslint-config": "*",
    "@acme/prettier-config": "*",
    "@acme/tailwind-config": "*",
    "@acme/tsconfig": "*",
    "@types/node": "^20.14.9",
    "@types/react": "catalog:react18",
    "@types/react-dom": "catalog:react18",
    "dotenv-cli": "^7.4.2",
    "eslint": "catalog:",
    "jiti": "^1.21.6",
    "prettier": "catalog:",
    "tailwindcss": "^3.4.4",
    "typescript": "catalog:"
  },
  "prettier": "@acme/prettier-config"
}

code created from npx create-turbo@latest -e https://github.com/t3-oss/create-t3-turbo -m bun

dylan-conway commented 4 months ago

Thanks, this is most likely related to the catalog: protocol