Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Specify the accpeted licenses #147

Open
YaminoYuki opened this issue Jun 16, 2022 · 1 comment
Open

Specify the accpeted licenses #147

YaminoYuki opened this issue Jun 16, 2022 · 1 comment

Comments

@YaminoYuki
Copy link

I am using d2l-license-checker
I followed the steps mentioned in the repo, but when I run it I am always getting:
Package "name_of_certain_package" doesn't meet license requirements (BSD*).

I want to specify a list of licenses that are accepted and BSD is one of them
in the description it was mentioned that:
A simple tool to check licenses of all npm dependencies in a project against an approved set of licenses

what are the licenses that approved and how can we specify them ?

I know about the config file .licenseschecker.json but still can't find what I need

in general the examples for this package are very rare

any help ?

@fhg-isi
Copy link

fhg-isi commented Jul 27, 2023

I tried to specify/override "acceptedLicenses" in .licenseschecker.json but that did not work.

And I get

Package "tslib@2.6.1" doesn't meet license requirements (0BSD).
Repository: https://github.com/Microsoft/tslib
Path: C:\python_env\workspace\micat\front_end\node_modules@swc\helpers\node_modules\tslib

even with 0BSD being listed in accepted licenses of

https://github.com/Brightspace/d2l-license-checker/blob/master/config/default_config.json

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants