6

I'm following yarn installation doc. When I run corepack prepare yarn@stable --activate, I'm getting Usage Error: Invalid package manager specification in CLI arguments; expected a semver version. Anyone know what's up?

passionateLearner
  • 722
  • 1
  • 7
  • 19

1 Answers1

0

As per this github issue https://github.com/yarnpkg/berry/issues/4132, you should corepack enable instead of corepack prepare