t3-oss / create-t3-turbo

Clean and simple starter repo using the T3 Stack along with Expo React Native
https://turbo.t3.gg
MIT License
4.73k stars 408 forks source link

bug: Bun install fails #1133

Closed BlakeBrown closed 1 month ago

BlakeBrown commented 3 months ago

Provide environment information

npx create-turbo@latest -e https://github.com/t3-oss/create-t3-turbo

Describe the bug

Using bun, you get the following error

 stderr: 'bun install v1.0.25 (a8ff7be6)\n' +
    ' Resolving dependencies\n' +
    '\n' +
    'error: InstallFailed cloning repository for prettier\n' +
    '\n' +
    'error: InstallFailed cloning repository for react\n' +
    ' Resolved, downloaded and extracted [1158]\n' +
    'warn: incorrect peer dependency "prettier@2.8.8"\n' +
    '\n' +
    'warn: incorrect peer dependency "prettier@2.8.8"\n' +
    '\n' +
    'warn: incorrect peer dependency "react@18.3.1"\n' +
    '\n' +
    'warn: incorrect peer dependency "react@18.3.1"\n' +
    '\n' +
    'error: "git clone" for "react" failed\n' +
    '\n' +
    'error: "git clone" for "prettier" failed\n' +
    '\n' +
    'error: "git clone" for "prettier" failed\n' +
    '\n' +
    'error: "git clone" for "react" failed',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}

Link to reproduction

https://github.com/t3-oss/create-t3-turbo

To reproduce

npx create-turbo@latest -e https://github.com/t3-oss/create-t3-turbo

select bun

Additional information

No response

dBianchii commented 3 months ago

Pretty sure this repo is only supposed to work with pnpm. We're using catalogs and pnpm workspaces