question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to generate bom for Node.js project

See original GitHub issue

Whenever I try to run cdxgen for Node.js projects the output it empty IF the node_modules folder is not yet created.

Sample output:

Unable to produce BOM for .
Try running the command with -t <type> or -r argument

But once I run npm install and created the node_modules directory the output is as expected. Is there anything that can be done to implicitly execute this?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
prabhucommented, Jun 15, 2022

@kakumanivrn Please share your love on social media so that more users could discover and use the tools!

1reaction
kakumanivrncommented, Jun 15, 2022

@prabhu Definitely!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot generate BOM file · Issue #118 · CycloneDX ... - GitHub
Hi there! Can someone explain to me why do I need to run npm install before I generate BOM file for project dependencies?...
Read more >
How to generate a Nodejs SBOM in CycloneDX format
Globally install the CycloneDX Node.js Module; Generate the CycloneDX SBOM with cyclonedx-node. All of the steps are run from the command line.
Read more >
The Power of the BOM - YouTube
In this session, we demonstrate how to create a CycloneDX software bill-of-material ( BOM ) from an existing Node. js project and use...
Read more >
@cyclonedx/bom - npm
CycloneDX is a lightweight SBOM specification that is easily created, human and machine readable, and simple to parse. Requirements. Node.js v8.
Read more >
cyclonedx/bom/README.md - UNPKG
Build Status](https://github.com/CycloneDX/cyclonedx-node-module/workflows ... 33, Creates CycloneDX Software Bill-of-Materials (SBOM) from Node.js projects.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found