create-t3-app: bug: can't install tagged versions with `yarn`

Provide environment information

6.0.0-next.2af4bc9

Describe the bug

Can’t install the project with Yarn version 2.

To reproduce

npx create-t3-app@next something
cd something
yarn install
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 6s 756ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ wrappy@npm:1.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yallist@npm:4.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ zod@npm:3.19.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ typescript@npm:4.7.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0066: │ typescript@patch:typescript@npm%3A4.7.4#builtin<compat/typescript>::version=4.7.4&hash=8133ad: Cannot apply hunk #2 (set enableInlineHunks for details)
➤ YN0000: └ Completed in 32s 30ms
➤ YN0000: Failed with errors in 38s 791ms```

### Additional information

yarn --version
2.4.3

node --version
v16.17.0

npm --version
8.15.0

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 38 (36 by maintainers)

Most upvoted comments

We moved to using next as the default branch, is this issue still relevant? I tried yarn create t3-app and with Yarn@1 and it works as expected. If this issue still needs some testing, I can take a look.

I agree with @juliusmarminge and think we should just leave it open. There’s some issues with yarn 2 and 3 and if someone knows how to fix them then they can know about this issue.

We moved to using next as the default branch, is this issue still relevant? I tried yarn create t3-app and with Yarn@1 and it works as expected. If this issue still needs some testing, I can take a look.

You’re correct in that we no longer need to support the next-tag since we no longer maintain two different tags, and for beta testing important PRs it really isn’t important to have yarn support.

Not sure if we should close it, or just leave it open? If you want to look at it, feel free, but I don’t see any reason to put a lot of time into it as it is now.