Do you want to request a feature or report a bug?
What is the current behavior?
yarn add flat results in:
yarn add v0.16.1 error Missing list of packages to add to your project. info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
yarn add flat assert results in:
yarn add v0.16.1 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... success Saved lockfile. success Saved 3 new dependencies. ├─ email@example.com ├─ firstname.lastname@example.org └─ email@example.com Done in 0.79s.
Same thing happens for any package that shares a name with an option flag.
A current workaround is running
yarn add -- flat.
If the current behavior is a bug, please provide the steps to reproduce.
yarn add flat in any project.
What is the expected behavior?
Yarn should install the module flat and update
Please mention your node.js, yarn and operating system version.
v14.04.4 subsystem on Windows 10 Pro