LicenseFinder icon indicating copy to clipboard operation
LicenseFinder copied to clipboard

LicenseFinder hangs / stuck with Electron and Yarn

Open MassimoDeLuca opened this issue 1 year ago • 3 comments

Hi,

I have a node repository setup with Yarn and have various packages installed.

Everything works as expected with Electron versions 23, 24, 25 although when updated to version 26 or 27 LicenseFinder will hang indefinitely. It doesn't look like Electron has modified their license in 3 years and I'm unsure to the cause.

Command I'm running: license_finder report --format csv --columns=name version licenses homepage package_manager --save licenses.csv Output:

LicenseFinder::NPM: is active
LicenseFinder::Yarn: is active
**hangs**

With the --debug arg: image

This also occurs with some of the basic commands in the Readme.

Running yarn licenses list outputs fine, even when using the --recursive --json like LicenseFinder does (AFAIK). Tried both latest LicenseFinder, and one of the prior releases to no avail. Also tried both Ruby 2.7.4 and 3.0.2

LMK if theres anymore info I can provide to help debug!

MassimoDeLuca avatar Oct 10 '23 23:10 MassimoDeLuca