opensbom-generator / spdx-sbom-generator

Support CI generation of SBOMs via golang tooling.
407 stars 110 forks source link

SPDX SBOM Generator Bug Report #240

Open atrerasika opened 2 years ago

atrerasika commented 2 years ago

Failed to run command: No module manager found

Hi, I am using spdx for the first time, Trying to run spdx on Windows x64 for cloned repo of product which is C# and C++ code. Running tool at the root of directory but getting following error: INFO[2022-01-27] Starting to generate SPDX ... FATA[2022-01-27] Failed to run command: No module manager found

Steps followed;

  1. Download spdx repo from https://github.com/opensbom-generator/spdx-sbom-generator
  2. Download spdx exe from https://github.com/spdx/spdx-sbom-generator/releases/download/v0.0.10/spdx-sbom-generator-v0.0.10-windows-amd64.zip, extract zip file
  3. Copy exe file to cloned repo of code
  4. Run command from powershell ./sbom-spdx-generator -o .\sbom\ .

Error: INFO[2022-01-27] Starting to generate SPDX ... FATA[2022-01-27] Failed to run command: No module manager found

Am I missing in setting up anything? Or it's not supported? Can someone please help me? Thanks in advance!

mr-cal commented 2 years ago

I believe C# and C++ are currently not supported.

That error means that spdx-sbom-generator was unable to find a package manager in the current working directory (or the path specified with --path <path-to-project-source>.