With pnpm (create-t3-turbo), packages are installed on the wrong project folder

As I'm building out my app in a monorepo using create-t3-turbo, sometimes packages I install are installed on the project-specific node_modules vs the root node_modules. Some packages might only be used in that one project, so I get that, but now even @tanstack/react-query and others are being installed in both the root and the project folders. Questions: 1. Why is this happening? 2. Is there a way to force most of the packages to be installed on the root node_modules?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server