create-t3-turbo issues
Hi guys, I just started diving into the create-t3-turbo monorepo. Unfortunately I'm facing some quite annoying issues setting up and running the base template.
I'm following the readme and can get both apps to run with some tricks - however I was expecting it to work out of the box - and I'm not sure if it is my setup there is something wrong with.
Setup:
Apple M1 Pro
macOS: Sonoma 14.2.1
package manager: pnpm (tried installing this several different ways)
- tried every package manager and I'm facing the same issues for every one of them
Issues I'm facing (I will post more info below):
1. permission denied, open - for certain files in the expo directory. Happens for the auto generated .gitignore file (can't even open it manually) - running with sudo works. Tried various recommendations online (like chmod, deleting and reinstalling the package managers etc)
2. hot reloading for the Nextjs app is quite slow (600ms - 1s to recompile), longer to appear in the browser - is this to be expected? (am I just being a brat? 🙂 )
3. hot reloading not working in expo at all (not sure if this is can be related to issue 1)
I know it can be difficult to remotely debug stuff like this, I'm at a point where I would love to give away a bounty if someone can help me out (hopefully this doesn't break any TOS 😅 )
Sorry in advance for this noob question
13 Replies
1. permission denied
When running
pnpm dev
or pnpm --filter expo dev
2. Hot reloading Nextjs app
Is it normal that it takes this long?
I used to have this problem on a project that used shadcn Zod t3 and lucide icons AFAIK I think it’s due to the nature lf the dependencies (bundle sizes) you’re using, I just created a blank project and it’s way smoother
This is from completely blank create-t3-turbo template
Oh
Then I’m not really sure what the actual problem could be
Sorry man
No worries mate, thank you for your input!
Hot reloading is quite standard, similar waiting time for me as well.
coolio, good to know - thanks for th response mate!
One thing that helps in general is to not open all apps if not activelly working on it. Like go to the package jsons and just change the name of the dev script. Expo is really quire heavy i found.
In the example above I was running it with the filter flag to only run the nextjs app
Ah apologies I missed that
i'm getting this error too
I had a similar error due to weird permissions on
expo/.gitignore
, so I just fixed the permissions: chmod 644 ./apps/expo/.gitignore
. That resolved the problem.