Traceback (most recent call last):
File "/usr/local/bin/license-sh", line 2, in <module>
from license_sh import __main__
File "/usr/local/lib/python3.8/site-packages/license_sh/__main__.py", line 24, in <module>
run_license_sh(arguments)
File "/usr/local/lib/python3.8/site-packages/license_sh/commands/run_license_sh.py", line 68, in run_license_sh
dep_tree, license_map = runner.check()
File "/usr/local/lib/python3.8/site-packages/license_sh/runners/yarn/__init__.py", line 344, in check
license_map = fetch_npm_licenses(flat_dependencies)
File "/usr/local/lib/python3.8/site-packages/license_sh/runners/runners_shared.py", line 40, in fetch_npm_licenses
asyncio.run(fetch_concurrent(urls))
File "/usr/local/lib/python3.8/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 612, in run_until_complete
return future.result()
File "/usr/local/lib/python3.8/site-packages/license_sh/runners/runners_shared.py", line 33, in fetch_concurrent
license_map[f"{page['name']}@{version}"] = extract_npm_license(
File "/usr/local/lib/python3.8/site-packages/license_sh/helpers.py", line 78, in extract_npm_license
return get_npm_license_from_licenses_array(licenses_array)
File "/usr/local/lib/python3.8/site-packages/license_sh/helpers.py", line 46, in get_npm_license_from_licenses_array
license_item_type = license_item.get("type", UNKNOWN)
AttributeError: 'str' object has no attribute 'get'
https://github.com/license-test/devenv