Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Command failed with certain npm packages #11

Open
brudijoe opened this issue Nov 2, 2022 · 3 comments
Open

Error: Command failed with certain npm packages #11

brudijoe opened this issue Nov 2, 2022 · 3 comments

Comments

@brudijoe
Copy link

brudijoe commented Nov 2, 2022

Hello, our team is running into issues when we run the check:
"owasp": "owasp-dependency-check --out=./dependency-check-reports --project=\"[projektname]\" --data=/tmp/dependency-check-data --format=HTML --format=HTML --scan=package-lock.json"

The problem happens with the npm packages: jest, webpack, webpack-dev-server

owasp

We used the recent version "owasp-dependency-check": "^0.0.21" and an older one (0.0.18).

@centi
Copy link
Collaborator

centi commented Nov 15, 2022

Could you provide additional information?

  • What version of Node/NPM are you using?
  • If possible, attach your package-lock.json

I tried the exact command you provided on a simple project (linux) and it works.

@centi
Copy link
Collaborator

centi commented Nov 15, 2022

And what version of java do you have?

@brudijoe
Copy link
Author

Thank you for anwsering, the problem is likely the node-version. When running the check with node-version: 14.16.1, we don't have any problems, but if we use 16.13.1 then we get the Child.process.exithandler error.

I have included a package-lock.json from a small sample project.

package-lock.zip

As for java, we use:
openjdk version "1.8.0_345"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_345-b01)
OpenJDK 64-Bit Server VM (Temurin)(build 25.345-b01, mixed mode)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants