trailofbits / it-depends

A tool to automatically build a dependency graph and Software Bill of Materials (SBOM) for packages and arbitrary source code repositories.
https://blog.trailofbits.com/2021/12/16/it-depends/
GNU Lesser General Public License v3.0
330 stars 20 forks source link

Error: "Can not resolve . " #81

Open Mhbuur opened 1 year ago

Mhbuur commented 1 year ago

When I try to run it-depends on a git repository I get this "Can not resolve . " response immediately. There are several "dot" files simply named ".env" or similar in the repository.

I'm sure this is a noob pitfall of some sort - feel free to enlighten me harshly ;-)

Tried out natively on Windows 11 and also via WSL. Same result.

PatAtAlludo commented 8 months ago

I'm having the same issue on MacOS 14. The weird part it works on the it-depends folder; it-depends % it-depends --output-file it_depends_sbom.json but not on anything else on the system, even when the target folder is copied into the it-depends folder. it-depends % it-depends ./sclient even with a fully qualified path it-depends % it-depends /Users/pat.ford/sbom/it-depends/sclient