t3-turbo monorep, install packages in sub folders
Hi
I am migrating my mindset/knowladge from .NET/C#/Angular to your promising t3 ideology/stack.
I did git clone create-t3-turbo , "pnpm i", but it only installed root node packages , and ignored subproject (prisma, nextjs and etc).
What am I missing? Obvisly I could just write a npm postinstall task to "npm i" in each sub-project, but that shoud have been already in the template. So... I guess I am missing something , am I?
4 Replies
look in the package json of the root @mrmcgri
in the scripts
you run from root
not by going into each project and running
mm
Ye, i did ran it from root
sorry, not following π
my root package.json is the same as https://github.com/t3-oss/create-t3-turbo/blob/main/package.json
GitHub
create-t3-turbo/package.json at main Β· t3-oss/create-t3-turbo
Clean and simple starter repo using the T3 Stack along with Expo React Native - create-t3-turbo/package.json at main Β· t3-oss/create-t3-turbo
@barry I followed the README 1:1 π¦ and it didn't install anything but root node_modules
@barry solved it π the error is misleading a bit. Habbits of reading only the last line XD . the issue was in DB connection string, not in WARNβ Local package.json exists, but node_modules missing,