Closed ngyl88 closed 1 year ago
@jeremylong Thanks for the attempt to fix.
I tried with the docker image owasp/dependency-check:7.4.1
, same steps as above. The same issues persist. I'm not sure about the effect of the line in commit 8c9b6a1 , would you have an idea to share?
Logs generated:
[INFO] Analysis Started
[INFO] Finished File Name Analyzer (0 seconds)
[WARN] Unable to find node module: /src/node_modules/@ampproject/remapping/node_modules/@jridgewell/gen-mapping/package.json
[WARN] Unable to find node module: /src/node_modules/@ampproject/remapping/node_modules/@jridgewell/trace-mapping/package.json
[WARN] Unable to find node module: /src/node_modules/@babel/code-frame/node_modules/@babel/highlight/package.json
Describe the bug The newly released dependency check docker image was unable to locate the
node_modules
folder, while the previous image works.The problem is the same as mentioned by another user, https://github.com/jeremylong/DependencyCheck/issues/5116#issuecomment-1336534312.
Version of dependency-check used The problem occurs using version 7.4.0, running with docker commands that was published in Docker Hub. The script file used is exactly the same as previous successful runs.
Log file With image tag 7.4.0,
Run with image tag 7.3.2,
To Reproduce Try to run the docker image to scan a NodeJS project with the script published in Docker Hub.
./bin/owasp-dependency-check-docker
.Expected behavior It should pass the
node_modules
resolution phase and start Node.js Package Analyzer.Additional context NA