You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running bun i in the root of the project should work, and I should have node_modules/b symlinked to packages/b
What do you see instead?
Fails with the error:
bun install v0.6.14 (b5665739)
error: Workspace name "b" already exists
{
^
/Users/sergio/src/experiments/bun-workspaces/package.json:1:1 0
Additional information
It works if I remove the dependency on b in package.json. But it goes against what other package managers do, and agains the docs in https://bun.sh/docs/install/workspaces
Also, it doesn't matter if I depend on b: "*", b: "1.0.0" or any other variant, I always get the same error regarding duplicated workspace.
The text was updated successfully, but these errors were encountered:
What version of Bun is running?
0.6.14
What platform is your computer?
Darwin 21.6.0 arm64 arm
What steps can reproduce the bug?
Create
package.json
with:Then
packages/b/package.json
with:What is the expected behavior?
Running
bun i
in the root of the project should work, and I should havenode_modules/b
symlinked topackages/b
What do you see instead?
Fails with the error:
Additional information
It works if I remove the dependency on
b
inpackage.json
. But it goes against what other package managers do, and agains the docs in https://bun.sh/docs/install/workspacesAlso, it doesn't matter if I depend on
b: "*"
,b: "1.0.0"
or any other variant, I always get the same error regarding duplicated workspace.The text was updated successfully, but these errors were encountered: