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

Crash when i try to link local package in monorepo package #14116

Open
kravetsone opened this issue Sep 23, 2024 · 2 comments
Open

Crash when i try to link local package in monorepo package #14116

kravetsone opened this issue Sep 23, 2024 · 2 comments
Assignees
Labels
bun install Something that relates to the npm-compatible client crash An issue that could cause a crash windows An issue that is known to occur on Windows

Comments

@kravetsone
Copy link

kravetsone commented Sep 23, 2024

How can we reproduce the crash?

No response

Relevant log output

[0.00ms] ".env"
bun link v1.1.29 (6d43b36)

Bun v1.1.29 (6d43b36) Windows x64
Windows v.win10_fe
CPU: sse42 avx avx2
Args: "C:\Users\krave.bun\bin\bun.exe" "link" "jobify"
Features: dotenv
Elapsed: 22ms | User: 0ms | Sys: 15ms
RSS: 84.81MB | Peak: 84.81MB | Commit: 111.55MB | Faults: 20895

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

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

Stack Trace (bun.report)

Bun v1.1.29 (6d43b36) on windows x86_64 [LinkCommand]

panic: Internal assertion failure

Features: dotenv

@kravetsone kravetsone added the crash An issue that could cause a crash label Sep 23, 2024
@github-actions github-actions bot added the windows An issue that is known to occur on Windows label Sep 23, 2024
@kravetsone kravetsone changed the title Crash when i try to link local package Crash when i try to link local package in monorepo package Sep 23, 2024
@dylan-conway dylan-conway added the bun install Something that relates to the npm-compatible client label Sep 23, 2024
@dylan-conway dylan-conway self-assigned this Sep 23, 2024
@dylan-conway
Copy link
Collaborator

Could you share the root package.json and the workspace package.json you are linking jobify in?

@kravetsone
Copy link
Author

kravetsone commented Sep 24, 2024

Could you share the root package.json and the workspace package.json you are linking jobify in?

package where i wants linked jobify

{
	"name": "@catchup-monorepo/bullmq",
	"version": "1.0.0",
	"module": "src/index.ts",
	"type": "module",
	"exports": {
		".": "./src/index.ts",
		"./redis": "./src/redis.ts",
		"./redlock": "./src/redlock.ts"
	},
	"devDependencies": {
		"@types/bun": "latest"
	},
	"peerDependencies": {
		"typescript": "^5.0.0"
	},
	"dependencies": {
		"@catchup-monorepo/bot": "workspace:",
		"@catchup-monorepo/db": "workspace:",
		"@catchup-monorepo/server": "workspace:",
		"@sesamecare-oss/redlock": "^1.3.1",
		"bullmq": "^5.12.14",
		"env-var": "^7.5.0",
		"ioredis": "^5.4.1"
	}
}

monorepo root

{
	"private": true,
	"workspaces": ["packages/*", "apps/*"],
	"scripts": {
		"dev": "bun --filter '**/{mini-app,server}' dev"
	},
	"patchedDependencies": {
		"@elysiajs/[email protected]": "patches/@elysiajs%[email protected]",
		"@sinclair/[email protected]": "patches/@sinclair%[email protected]"
	}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun install Something that relates to the npm-compatible client 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

2 participants