-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 does not install dependencies between packages in the same monorepo #4650
Comments
You need to provide a version for |
Thanks, but even with an explicit version, it still fails. Revised
Error:
|
Faced a similar issue. explicitly specifying as workspace dependency fixes it
|
This didn't fix the problem for me |
I've found that you don't need to declare packages in a monorepo as dependencies of each other. They're automatically added to "dependencies": {
// other dependencies
- "stuff-a": "*"
} |
@benvan that worked for a first |
I am facing the same behavior as his |
Removing the lock file worked for me |
This is fixed in bun
We also landed #11177 in Please reopen or create a new issue if you continue to find install bugs in the latest release of bun. |
What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
What platform is your computer?
Darwin 22.5.0 arm64 armw
What steps can reproduce the bug?
Following the guide for setting up a monorepo here:
Project structure:
Root
package.json
Stuff-b
package.json
What is the expected behavior?
Running
bun install
from the project root to install dependencies for all workspaces.What do you see instead?
I get the following error:
Additional information
No response
The text was updated successfully, but these errors were encountered: