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

bun install using workspaces #2180

Closed
antooni opened this issue Feb 25, 2023 · 3 comments
Closed

bun install using workspaces #2180

antooni opened this issue Feb 25, 2023 · 3 comments
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client

Comments

@antooni
Copy link

antooni commented Feb 25, 2023

What version of Bun is running?

0.5.7

What platform is your computer?

Darwin 22.3.0 arm64 arm

What steps can reproduce the bug?

git clone git@github.com:l2beat/l2beat.git
cd l2beat
bun install

What is the expected behavior?

deps are installed correctly

What do you see instead?

bun install
bun install v0.5.7 (5929dae)

error: Workspace not found "packages/*" in "/Users/antooni/repos/quickstart/l2beat"

  "packages/*"
  ^

/Users/antooni/repos/quickstart/l2beat/package.json:11:7 172

Additional information

No response

@antooni antooni added the bug Something isn't working label Feb 25, 2023
@Electroid Electroid added the bun install Something that relates to the npm-compatible client label Feb 25, 2023
@Electroid
Copy link
Contributor

Hey there, thanks for reporting this issue! We have not yet implemented glob support in workspaces, which is why this error is occurring, but we will be adding it soon. #1918

In the meantime, a workaround is to manually list all your workspaces, e.g.

{
  "packages": [
    "package-a",
    "package-b"
  ]
}

@Electroid
Copy link
Contributor

packages/* is supported as of Bun 0.5.8. Glob support, more generally, will be tracked in #1918

@antooni
Copy link
Author

antooni commented Mar 21, 2023

Thank you <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client
Projects
None yet
Development

No branches or pull requests

2 participants