-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
What version of Turborepo are you using?
1.2.14
What package manager are you using / does the bug impact?
Yarn v2/v3 (node_modules linker only)
What operating system are you using?
Mac
Describe the Bug
When you have "packageManager": "yarn@4.0.0-rc.6"
in your root package.json
, TurboRepo reports an error about not having set that property.
We did not detect an in-use package manager for your project. Please set the "packageManager" property in your root package.json (https://nodejs.org/api/packages.html#packagemanager) or run `npx @turbo/codemod add-package-manager` in the root of your monorepo.
However, running npx @turbo/codemod add-package-manager
doesn't report any error. It detects the line and the exact version of yarn but doesn't touch it.
Expected Behavior
One of the following
- Turborepo should accept the use of
yarn@4.0.0-rc.6
as a valid packageManager. (prefered) - Turborepo should throw a warning about an unsupported version
@turbo/codemod
should throw a warning about an unsupported version
To Reproduce
init a new turborepo and update yarn to latest available version by using yarn set version canary
Metadata
Metadata
Assignees
Labels
No labels