-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
bugSomething isn't workingSomething isn't workingbun installSomething that relates to the npm-compatible clientSomething that relates to the npm-compatible client
Description
What version of Bun is running?
1.3.0+b0a6feca5
What platform is your computer?
Darwin 24.6.0 arm64 arm, Linux 6.8.0-85-generic x86_64 x86_64
What steps can reproduce the bug?
Run bun install --linker=isolated
with the following package.json
:
{
"name": "my-project",
"version": "0.1.0",
"private": true,
"type": "module",
"devDependencies": {
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/bun": "latest"
},
"dependencies": {
"@tiptap/react": "^3.6.6",
"@tiptap/starter-kit": "^3.6.6",
"react": "^19",
"react-dom": "^19"
}
}
What is the expected behavior?
Symlinks of transitive dependencies should be in node_modules
What do you see instead?
If you check node_modules
, you can see that all transitive dependencies are installed in node_modules/.bun
, but there is no symlink to them in node_modules
Additional information
You can get everything to work by running bun install --linker=hoisted
instead. But that kinda defeats the purpose of this feature. If this behavior is intentional, I'd love to know a proper solution/workaround.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingbun installSomething that relates to the npm-compatible clientSomething that relates to the npm-compatible client