burnstony#1975
burnstony#19756mo ago

monorepo logs

my logs for https://www.convex.dev/templates/monorepo where working correctly were I could select each of the seperate apps but now they are just all inteleaving together, not sure why they worked before or what broke does anyone know what is actaully supporting the advanced logging features I dont know what to even look for
Monorepo with Next.js and Expo
The backend application platform with everything you need to build your product.
12 Replies
burnstony#1975
burnstony#1975OP6mo ago
@oscklm i saw you are doing monorepos how do you get the logs to not just all spit out together @ian how do you get the logs to work properly in a terminal. when i run 'npm run dev' from the root all the logs are all together and i can't interact with the native application and launch the simulator from the terminal
ian
ian6mo ago
turborepo is doing the combining. I believe you can run each part individually by going to the respective directories, e.g. you can cd packages/backend then npm run dev there to just run the convex backend. It's been a while since I've used turbo but I think there's options you can pass to it to only run certain parts. I'd check out the docs for turborepo for that
burnstony#1975
burnstony#1975OP6mo ago
yeah, but it was briefly runningall in one terminal, and I could toggle up and down between the different app logs and than hit enter to interact with any one of them but now I can't figure out what made it do that
burnstony#1975
burnstony#1975OP6mo ago
finally figured out at least what I am looking for @ian support for the new turbo UI would be awesome, not sure what the fix is or what caused it https://turbo.build/blog/turbo-2-0#new-terminal-ui https://turbo.build/blog/turbo-2-0#new-terminal-ui but at least now I know I am not crazy
Turborepo 2.0
Turborepo 2.0 is a milestone for the ergonomics of JavaScript and TypeScript monorepos.
burnstony#1975
burnstony#1975OP6mo ago
Very painful t figure out, but than a super easy fix { "$schema": "https://turbo.build/schema.json", "globalDependencies": ["*/.env.local"], "ui": "tui",
burnstony#1975
burnstony#1975OP6mo ago
No description
ian
ian6mo ago
Nice debugging 👏 Want to put up a PR against the template?
burnstony#1975
burnstony#1975OP6mo ago
yes
burnstony#1975
burnstony#1975OP6mo ago
@ian the clerk login for the mon-repo works for me, but during apple app review, it keeps returning to the login page I believe its not returning a sessionId
ian
ian6mo ago
interesting - how does your app compare to the clerk / expo docs here? https://clerk.com/docs/quickstarts/expo it sounds like a Clerk / ReactNative issue otherwise? I haven't put a RN app through app store review tbh, sorry I can't be more helpful
Quickstarts: Expo Quickstart
Add authentication and user management to your Expo app with Clerk.
burnstony#1975
burnstony#1975OP6mo ago
It’s mostly the same, trying to get convex auth to work currently https://discord.com/channels/1019350475847499849/1262826743882846238