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

Overlooks All PnP Dependencies #250

Open
Kurt-von-Laven opened this issue Apr 26, 2021 · 2 comments
Open

Overlooks All PnP Dependencies #250

Kurt-von-Laven opened this issue Apr 26, 2021 · 2 comments

Comments

@Kurt-von-Laven
Copy link

When you run license-checker in a project that uses Plug'n'Play dependencies, the default in Yarn 2, rather than a node_modules directory, it only sees the package.json of the project itself and doesn't find any of the licenses of any of the dependencies.

@ferm10n
Copy link

ferm10n commented Oct 7, 2022

You might want to check out this plugin for yarn https://github.com/tophat/yarn-plugin-licenses

@Kurt-von-Laven
Copy link
Author

Yes, I am a contributor to that plugin. It doesn't work for us on Yarn >3.0.0 unfortunately on account of tophat/yarn-plugin-licenses#21. I recommend Pivotal's LicenseFinder to others who share this problem since support for Yarn v2+ was recently merged to address pivotal/LicenseFinder#912.

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

2 participants