ironnator
TTCTheo's Typesafe Cult
•Created by ironnator on 1/27/2023 in #questions
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?1 replies