Lerna commands throw yargs warning
See original GitHub issueWhen I run Lerna commands, i.e. lerna list
, I get the following warning.
Configuring yargs through package.json is deprecated and will be removed in a future major release, please use the JS API instead.
Configuring yargs through package.json is deprecated and will be removed in a future major release, please use the JS API instead.
Expected Behavior
No yargs warning
Current Behavior
yargs warning is present
lerna.json
{
"npmClient": "yarn",
"packages": ["packages/*"],
"useWorkspaces": true,
"version": "independent"
}
Your Environment
Executable | Version |
---|---|
lerna --version |
3.16.5 |
npm --version |
6.10.3 |
yarn --version |
1.19.1 |
node --version |
v10.16.1 |
OS | Version |
---|---|
macOS Catalina | 10.15 |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:10 (2 by maintainers)
Top Results From Across the Web
How to get rid of Lerna Warnings on "yarn" command
I am running "yarn" and I am getting all of these lerna warnings. Is there a way I can hide these so they...
Read more >Getting error while building mobile app - Axelor Forum
Hi Team,. I am getting below error while building mobile app. Kindly help me to fix this issue. lerna info version 2.5.1
Read more >@lerna/batch-packages: Versions | Openbase
command : Bump minimum range of lodash, silence dumb 'security' warning (c405871); conventional-commits: Hard-pin lodash.template dependency to silence ...
Read more >pnpm/pnpm - Gitter
I am currently using Lerna and my use case is for React.lazy, it only supports default ... pnpm/grpc@1.24.2/node_modules/grpc install: gyp ERR! command ......
Read more >Getting error messages when running yarn commands
json', requestPath: 'yargs' } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue appears to still be present in v3.20.2 🙁
ditto seeing this warning in lerna v3.20.2, but we have no yargs that are being configured.