oven-sh / bun

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

critical crash in bun install #10982

Closed nodenwwsfww closed 5 months ago

nodenwwsfww commented 6 months ago

How can we reproduce the crash?

I tried to install packages via bun install { "name": "test", "version": "0.1.0", "author": "nicro + Harland [KFC]", "homepage": "https://ragemp.pro", "license": "MIT", "private": true, "scripts": { "postinstall": "npm run install:client && npm run install:server && npm run install:ui", "install:client": "cd src_client && npm install", "install:server": "cd src_server && npm install --legacy-peer-deps", "install:ui": "cd src_ui && npm install --legacy-peer-deps", "build": "npm run build:ui && npm run build:client && npm run build:server", "build:ui": "cd src_ui && npm run build", "build:client": "cd src_client && npm run build", "build:server": "cd src_server && npm run build", "postbuild": "echo ✔ All Build success!", "bun:postinstall": "bun run bun:install:client && bun run bun:install:server && bun run bun:install:ui", "bun:install:client": "cd src_client && bun install", "bun:install:server": "cd src_server && bun install --legacy-peer-deps", "bun:install:ui": "cd src_ui && bun install --legacy-peer-deps", "bun:build": "concurrently \"bun run bun:build:ui\" \"bun run bun:build:client\" \"bun run bun:build:server\"", "bun:build:ui": "cd src_ui && bun run build", "bun:build:client": "cd src_client && bun run build", "bun:build:server": "cd src_server && bun run build", "bun:postbuild": "echo ✔ All Build success!" }, "dependencies": { "@babel/runtime": "^7.14.5", "@tanstack/react-query": "4.36.1", "axios": "^0.21.1", "bcryptjs": "^2.4.3", "chalk": "^4.1.1", "cross-env": "^7.0.3", "crypto-random-string": "^4.0.0", "dotenv": "^10.0.0", "express": "^4.17.1", "ioredis": "^4.27.5", "lodash": "^4.17.21", "moment": "^2.29.1", "mongodb-client-encryption": "^2.3.0", "mongoose": "^5.12.13", "nodemailer": "^6.6.1", "rage-rpc": "github:Yoegibby/rage-rpc#rage1.1_fixes", "source-map-support": "^0.5.19", "winston": "^3.3.3" } }

JavaScript/TypeScript code that reproduces the crash?

No response

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.7 (b0b7db5) on windows x86_64 [InstallCommand]

panic: Internal assertion failure

witsuu commented 6 months ago

Update your bun to v1.1.8, the developer has fixed this bug in this version