Fixing Turborepo installation errors

image

every time I try to install a turborepo I face this issue from last night

Hi @rshdhere, welcome to the Vercel Community!

I’m unable to recreate this.

Can you share the Node.js, MacOS, pnpm, and npm version used here?


there you gp!


there you gp!

no response from the team yet

Hi @rshdhere, thanks for sharing additional details. Let me check with the Turborepo team. In the meantime, if you’ve not already tried, can you try cleaning up the pnpm or npm caches:

npm cache clean --force
# or if using yarn
yarn cache clean
# or if using pnpm
pnpm store prune

Are you or your workplace using some firewall or proxy setup?

@rshdhere Are there any versions of create-turbo that work for you? Does create-turbo@2.4.0 work, for instance?

➜ next-try pnpm store prune
Removed all cached metadata files
Removed 66133 files
Removed 1294 packages
➜ next-try pnpm dlx create-turbo@latest .

You appear to be offline. Please check your network connection and try again.
➜ next-try pnpm dlx create-turbo@2.4.0 .
Packages: +92
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 92, reused 86, downloaded 6, added 92, done
? Which package manager do you want to use? pnpm
/home/raashed/personal/projects/next-try has 1 conflicting file - please try a different location
➜ next-try ls
➜ next-try ls
➜ next-try ..
➜ projects rm -rf next-try
➜ projects mkdir jjjjj
➜ projects cd jjjjj
➜ jjjjj pnpm dlx create-turbo@2.4.0 .
? Which package manager do you want to use? pnpm

Creating a new Turborepo with:

Application packages

  • apps/docs
  • apps/web
    Library packages
  • packages/eslint-config
  • packages/typescript-config
  • packages/ui

Success! Your new Turborepo is ready.

To get started:

  • Enable Remote Caching (recommended): pnpm dlx turbo login

  • Run commands with Turborepo:

    • pnpm run build: Build all apps and packages
    • pnpm run dev: Develop all apps and packages
    • pnpm run lint: Lint all apps and packages
  • Run a command twice to hit cache
    ➜ jjjjj git:(main)

ig the latest version has issues