Skip to content
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

License not parsed correctly #251

Open
saravanabalagi opened this issue Jul 3, 2021 · 0 comments
Open

License not parsed correctly #251

saravanabalagi opened this issue Jul 3, 2021 · 0 comments

Comments

@saravanabalagi
Copy link

saravanabalagi commented Jul 3, 2021

How to reproduce?

npx license-checker --packages '[email protected]'

Output

npx: installed 57 in 1.924s
└─ [email protected]
   ├─ licenses: Custom: https://img.shields.io/npm/v/npyjs.svg
   ├─ repository: https://github.com/jhuapl-boss/npyjs
   ├─ publisher: Jordan Matelsky
   ├─ email: [email protected]
   ├─ path: /censored/node_modules/npyjs
   └─ licenseFile: /censored/node_modules/npyjs/LICENSE

Expected Output

npx: installed 57 in 1.924s
└─ [email protected]
   ├─ licenses: Apache-2.0
   ├─ repository: https://github.com/jhuapl-boss/npyjs
   ├─ publisher: Jordan Matelsky
   ├─ email: [email protected]
   ├─ path: /censored/node_modules/npyjs
   └─ licenseFile: /censored/node_modules/npyjs/LICENSE

Why expected output

  • package.json for npyjs has "license": "Apache-2.0"
  • LICENSE file found, has "Apache-2.0" on the first line
  • all the above are present in node_modules

Debug logs

  license-checker:log scanning /censored +0ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant