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

No license file found error if using --start --relativeLicnesePath and --files #102

Open
Schlumpf9 opened this issue Nov 4, 2023 · 0 comments

Comments

@Schlumpf9
Copy link

Schlumpf9 commented Nov 4, 2023

Hello,

I think i found a bug. If i use npx license-checker-rseidelsohn --start="../test" --production --direct=0 --relativeLicensePath --files="./licenses" I receive the error "No license file found for module " for all packages. If i omit --relativeLicensePath it works as expected so I assume using --start, --relativeLicensePath and --files together is broken. The attribute licenseFile: 'node_modules\\<XY>\\LICENSE.md' shows also the node_modules path and not the path where it should be normally copied to.

Maybe this is related to the previous bug reports to --relativeLicensePath in historical versions and was not fixed if --start is used as well.

Also on Windows I am not albe to use --direct, --direct=true or --direct="true"- is this expected? I have to delcare --direct=0 to get it work. Regarding the documentation --direct and --direct="true" should work as well?

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