This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
npm ls -g --parseable
uses local path, not global
#4202
Labels
I can reproduce this bug on Windows and on TravisCI (so probably other Unix system), but the behavior seems OK on Mac OSx.
When I run
npm ls -g --parseable
, the ouput correctly shows the name of global packages, but this name is prefixed with the localnode_modules
folder path, not the global path.I'd expect
--parseable
to return the package real path (the globalnode_modules
).The text was updated successfully, but these errors were encountered: