Installation within workspaces fails with bun

Found this odd thing.

When I have tanstack start in e.g. package/frontend

And other modules in packages/*.

When I run bun install in package/frontend the packages are installed in the root node modules and not in package/frontend, which leads to issues in bun dev, but works fine for build -> serve.

pnpm handles this correctly.
Was this page helpful?