-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
What version of Turborepo are you using?
latest
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Describe the Bug
I've never used turborepo, so I thought I'd try the getting starting entry, well... running fails for pnpm@7.
I have on my box:
$ npm -g ls
/Users/me/.nvm/versions/node/v16.13.2/lib
├── @microsoft/rush@5.68.0
├── corepack@0.10.0
├── npm@8.1.2
├── nx@14.0.5
├── pnpm@7.0.0
└── typescript@4.6.4
$ npx create-turbo@latest
>>> TURBOREPO
>>> Welcome to Turborepo! Let's get you set up with a new codebase.
? Where would you like to create your turborepo? turbo-03
? Which package manager do you want to use? pnpm
>>> Creating a new turborepo with the following:
- apps/web: Next.js with TypeScript
- apps/docs: Next.js with TypeScript
- packages/ui: Shared React component library
- packages/config: Shared configuration (ESLint)
- packages/tsconfig: Shared TypeScript `tsconfig.json`
Installing dependencies...
Aborting installation.
pnpm install --registry=https://registry.npmjs.org/ has failed.
I will also call out that if I try running:
$ pnpm -g ls
Legend: production dependency, optional only, dev only
/Users/me/Library/pnpm/global/5
dependencies:
nx 14.0.5
typescript 4.6.4
{machinename}:scratch-pad me$ pnpx create-turbo@latest
Packages: +160
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
Content-addressable store is at: /Users/me/Library/pnpm/store/v3
Virtual store is at: .pnpm
Progress: resolved 160, reused 160, downloaded 0, added 160, done
/private/var/folders/w8/h8q2_7l960v4y9nt4lb75g3jj212w9/T/dlx-96755/5:
+ create-turbo 1.2.6
>>> TURBOREPO
>>> Welcome to Turborepo! Let's get you set up with a new codebase.
? Where would you like to create your turborepo? turbo-04
? Which package manager do you want to use? pnpm
>>> Creating a new turborepo with the following:
- apps/web: Next.js with TypeScript
- apps/docs: Next.js with TypeScript
- packages/ui: Shared React component library
- packages/config: Shared configuration (ESLint)
- packages/tsconfig: Shared TypeScript `tsconfig.json`
Installing dependencies...
Aborting installation.
pnpm install --registry=https://registry.npmjs.org/ has failed.
Expected Behavior
I would expect the create-turbo@latest to complete without this issue:
Aborting installation.
pnpm install --registry=https://registry.npmjs.org/ has failed.
To Reproduce
To repoduce, I would say from the examples above, it's easy peasy by following the create-turbo@latest
's questions.
BerkeKaragoz, mechadragon01, Tanmayshetty, Niclassg, gabrielalmeida and 9 more
Metadata
Metadata
Assignees
Labels
No labels