Skip to content

Bun install failing for zero-svelte in a newly created svelte project #20728

Open
@Pukimaa

Description

@Pukimaa

package.json file

{
	"name": "zero-prototype",
	"private": true,
	"version": "0.0.1",
	"type": "module",
	"scripts": {
		"dev": "vite dev",
		"build": "vite build",
		"preview": "vite preview",
		"prepare": "svelte-kit sync || echo ''",
		"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
		"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
	},
	"devDependencies": {
		"@sveltejs/adapter-node": "^5.2.12",
		"@sveltejs/kit": "^2.16.0",
		"@sveltejs/vite-plugin-svelte": "^5.0.0",
		"@tailwindcss/vite": "^4.0.0",
		"svelte": "^5.0.0",
		"svelte-check": "^4.0.0",
		"tailwindcss": "^4.0.0",
		"typescript": "^5.0.0",
		"vite": "^6.2.6"
	},
	"dependencies": {
		"@inlang/paraglide-js": "^2.0.0"
	}
}

How can we reproduce the crash?

  1. Create a new Sveltekit project using bunx sv create
  2. Select tailwindcss, the node adapter & paraglide
  3. Run bun add zero-svelte

Relevant log output

Stack Trace (bun.report)

Bun v1.2.17 (282dda6) on windows x86_64 [InstallCommand]

panic: Internal assertion failureat install/npm.zig:2411:66

Features: text_lockfile

Sentry Issue: BUN-7MX

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashAn issue that could cause a crashwindowsAn issue that is known to occur on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions