New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn global ls does not display package names #2446
Comments
Further information: the unmet peer dependancy warnings are all eslint-plugin packages. |
I understood this behavior of the (Here is the Linux case)
(I think that the meaning of "global" in Yarn is ambiguous. ) |
In my case, npm packages are installed under |
@psafont I think packages that exist in |
They were not, they were installed using pacman (arch's package manager). So I take this bug report is a different issue from the install location being incompatible between yarn's and npm's, right? |
(I apologize for my poor English) And I think this is not a bug. |
Then all is clear, thanks |
@mjyuta the bug I was reporting was specifically about not showing the names of the packages producing warnings. Please look at the screenshot, it is not the normal list of packages you expect with I was trying to remove some global packages, but couldn't remember all of their names. I tried running I have resolved my particular issue because I had a list of the package names I needed to remove elsewhere. |
@lotap Did you use |
In addition to warnings, scapeless:~ elyscape$ yarn global ls
yarn global v0.24.6
warning No license field
info "node-gyp@3.6.2" has binaries:
- node-gyp
✨ Done in 0.41s.
scapeless:~ elyscape$ cat ~/.config/yarn/global/package.json
{
"dependencies": {
"node-gyp": "^3.6.2",
"yarn-completion": "github:dsifford/yarn-completion"
}
} Two thoughts about this:
|
This should be fixed in latest Yarn. See #3142 |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
yarn global ls does not display package names - only displays warnings, so it is difficult to interpret which package is causing which warning.
If the current behavior is a bug, please provide the steps to reproduce.
yarn global ls
What is the expected behavior?
a list of packages
Please mention your node.js, yarn and operating system version.
node v7.2.0 via nvm
yarn 0.18.1
OSX 10.11.4
The text was updated successfully, but these errors were encountered: