nuxt/cli

corepack ENOENT pnpm dlx nuxi@latest init

Closed this issue · 1 comments

Environment

Mac OS 13.3.1
pnpm --version 8.4.0
node -v v20.2.0

Reproduction

just run pnpm dlx nuxi@latest init project-name

Describe the bug

pnpm dlx nuxi@latest init project-name
.../Library/pnpm/store/v3/tmp/dlx-1074   |   +2 +
.../Library/pnpm/store/v3/tmp/dlx-1074   | Progress: resolved 2, reused 2, downloaded 0, added 2, done

✔ Which package manager would you like to use?
pnpm
◐ Installing dependencies...                                                                                 12:30:19 PM

 ERROR  Error: Command failed with ENOENT: corepack pnpm install                                             12:30:19 PM
spawn corepack ENOENT

Additional context

No response

Logs

No response

pi0 commented

In latest release (3.8.2) we have added a fallback mechanism when corepack is not installed. Let me know if still having issues to reopen.