You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run docker run --rm -v "$PWD:/app" ghcr.io/cyclonedx/cdxgen -r /app
Then it fails with
file:///opt/cdxgen/lib/cli/index.js:3089
if (options.projectType.length) {
^
TypeError: Cannot read properties of undefined (reading 'length')
at createNodejsBom (file:///opt/cdxgen/lib/cli/index.js:3089:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async createMultiXBom (file:///opt/cdxgen/lib/cli/index.js:6619:17)
at async createBom (file:///opt/cdxgen/lib/cli/index.js:7840:16)
at async file:///opt/cdxgen/bin/cdxgen.js:778:20
Node.js v23.8.0
Using latest image Digest: sha256:a43dd3c9da54ed438b7697d11ffe050d31893260df9f2a705e964551561663d9
The text was updated successfully, but these errors were encountered:
Given a current directory with just a
package-lock.json
When I run
docker run --rm -v "$PWD:/app" ghcr.io/cyclonedx/cdxgen -r /app
Then it fails with
Using latest image
Digest: sha256:a43dd3c9da54ed438b7697d11ffe050d31893260df9f2a705e964551561663d9
The text was updated successfully, but these errors were encountered: