Skip to content

Nuxt 3 install issues #132

Description

@Norbert-Brett

Environment


  • Operating System: Darwin
  • Node Version: v20.5.0
  • Nuxt Version: -
  • CLI Version: 3.7.3
  • Nitro Version: -
  • Package Manager: unknown
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

npx nuxi@latest init fit-app

✔ Which package manager would you like to use?
yarn
◐ Installing dependencies...

ERROR Error: Command failed with ENOENT: corepack yarn install
spawn corepack ENOENT

Describe the bug

I was trying to install Nuxt 3 using pnpm or yarn, but for some reason I kept having the following issue:

pnpm dlx nuxi@latest init fit-app

Packages: +2
++
Progress: resolved 2, reused 1, downloaded 1, added 2, done

✔ Which package manager would you like to use?
pnpm
◐ Installing dependencies... 13:56:48

ERROR Error: Command failed with ENOENT: corepack pnpm install 13:56:48
spawn corepack ENOENT

or

npx nuxi@latest init fit-app

✔ Which package manager would you like to use?
yarn
◐ Installing dependencies... 13:58:54

ERROR Error: Command failed with ENOENT: corepack yarn install 13:58:54
spawn corepack ENOENT

The only package manager working was 'npm'

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions