webscopeio / license.sh

License checker tool - We're in a beta phase, any help is appreciated, especially reporting issues
https://webscopeio.github.io/license.sh
MIT License
40 stars 6 forks source link

Package-lock without dependencies #75

Closed 4rokis closed 4 years ago

4rokis commented 4 years ago
===========
Initiated License.sh check for pipenv project located at ../*****
===========
Traceback (most recent call last):
  File "/usr/bin/license-sh", line 2, in <module>
    from license_sh import __main__
  File "/usr/lib/python3.8/site-packages/license_sh/__main__.py", line 24, in <module>
    run_license_sh(arguments)
  File "/usr/lib/python3.8/site-packages/license_sh/commands/run_license_sh.py", line 58, in run_license_sh
    dep_tree, license_map = runner.check()
  File "/usr/lib/python3.8/site-packages/license_sh/runners/npm/__init__.py", line 121, in check
    all_dependencies = package_lock["dependencies"]
KeyError: 'dependencies'
4rokis commented 4 years ago

Already fixed, closing