[BUG] npm ls --long --json does not show license of dependencies #3634
Labels
Bug
thing that needs fixing
Priority 2
secondary priority issue
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
Current Behavior
Running
npm ls --long --json
does not show the license field in dependencies, if npmv7 was used to install the packages.npm ls --long --json
does show the license field in dependencies if npmv6 was used to install the packages, even when npmv7 is used to run the ls command.Expected Behavior
Expect to see the license field in the output for dependencies when
npm ls --long --json
is run.Steps To Reproduce
npm i
with npm v7npm ls --long --json
with npm v7To observe better behaviour,
npm i
with npm v6npm ls --long --json
with npm v7 (or v6)Environment
The text was updated successfully, but these errors were encountered: