N
Nuxtβ€’9mo ago
Jure

pnpm error when creating new project

Every time I'm creating a new Nuxt project with pnpm: pnpm dlx nuxi@latest init <project-name> I'm asked: Which package manager would you like to use? pnpm And then I get an error:
◐ Installing dependencies...
Usage Error: This project is configured to use yarn
$ pnpm ...
ERROR Error: Command failed with exit code 1: corepack pnpm install
◐ Installing dependencies...
Usage Error: This project is configured to use yarn
$ pnpm ...
ERROR Error: Command failed with exit code 1: corepack pnpm install
After that I just manually run pnpm install and all dependencies are successfully installed. But I would still like to get rid of the error... πŸ™‚
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server