-
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 workspace package parse error #3582
Comments
Same error for me on bun 0.7.1 |
Same! This is the primary thing preventing us from adopting bun in our monorepo. |
Currently, Also currently I don't think nested workspaces are supported ( |
Our root {
"name": "tressel",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 80,
"quoteProps": "consistent"
}
} I will refer to a an internal package like so:
I'm using
We don't declare workspaces anywhere besides the root Is there a recommend way to structure a mono-repo? |
I will try to reproduce a minimal example this week |
I had the same issue and was able to resolve it by deleting my bun lockfile |
subscribing.. ideally it would be great if we could use this simple monorepo structure: https://github.com/vercel/examples/blob/main/solutions/monorepo/package.json |
It actually works as a workaround! thanks! |
Same here! |
@Jarred-Sumner How far up is this on the priority list? it’s a major blocker. |
This is fixed as of |
What version of Bun is running?
0.6.14
What platform is your computer?
Darwin 22.2.0 x86_64 i386
What steps can reproduce the bug?
root
package.json
packages/email
package.json
What is the expected behavior?
No response
What do you see instead?
error: package "@acme/email" not found registry.npmjs.org/@acme/email 404
Adding by relative path doesn't work either
Additional information
No response
The text was updated successfully, but these errors were encountered: