Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Starting an app with create t3-app@latest git issue #1847

Closed
psyfire25 opened this issue Apr 24, 2024 · 5 comments
Closed

bug: Starting an app with create t3-app@latest git issue #1847

psyfire25 opened this issue Apr 24, 2024 · 5 comments

Comments

@psyfire25
Copy link

Provide environment information

System:
OS: macOS 12.7.4
CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
Memory: 67.94 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 20.5.0 - ~/.volta/tools/image/node/20.5.0/bin/node
Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
npm: 10.4.0 - ~/.volta/tools/image/npm/10.4.0/bin/npm
pnpm: 8.15.7 - ~/.volta/tools/image/node/20.5.0/bin/pnpm
Watchman: 2024.04.01.00 - /usr/local/bin/watchman

Describe the bug

When you run create t3-app the project created has a major git issue.

The styles folder seems to be git ignored but there is nmothing in the file. Also when any new folder in created it too seems to be git ignored. I have tried removing the git ignore file and adding bits of it back slowly but the same thing is happeneing.

Reproduction repo

create t3-app

To reproduce

pnpm create t3-app@latest
(from what i can see any of the options give you this result)

Additional information

No response

@xelacast
Copy link
Contributor

xelacast commented Apr 27, 2024

@psyfire25 What commands are you using on the create-t3 cli setup upon project creation? I want to recreate your workflow to see if I can help out 👍

@psyfire25
Copy link
Author

Hey sorry for the delayed response

I was following Thoe's tutorial.


◇ What will your project be called?
│ testing

◇ Will you be using TypeScript or JavaScript?
│ TypeScript

◇ Will you be using Tailwind CSS for styling?
│ Yes

◇ Would you like to use tRPC?
│ No

◇ What authentication provider would you like to use?
│ None

◇ What database ORM would you like to use?
│ Drizzle

◇ Would you like to use Next.js App Router?
│ Yes

◇ What database provider would you like to use?
│ PostgreSQL

◇ Should we initialize a Git repository and stage the changes?
│ Yes

◇ Should we run 'pnpm install' for you?
│ Yes

◇ What import alias would you like to use?
│ ~/

@xelacast
Copy link
Contributor

xelacast commented Apr 30, 2024

@psyfire25 I ran through the workflow and could not reproduce your issue but I do have a few ideas that could be causing it.

  1. A global .gitignore that is disrupting your work flow check out this post
  2. Trouble shoot your .gitignore file check this

Questions to further look into

  • Does this issue persist outside of using the create t3-app in other git folders?
  • When you remove your .gitignore in the folder does it fix the issue for the CSS and added folders?

I'll update this if I can think of anything else that could be causing the issue
Hope you can solve this 👍

@psyfire25
Copy link
Author

it was my global git config thanks for the help

@xelacast
Copy link
Contributor

Glad you fixed it! 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants