Describe the bug
I run dependency check with sh dependency-check.sh --scan "/home/haxxor/dep-test/package-lock.json"
When I look at what gets printed in my terminal I see this
[WARN] Analyzing /home/haxxor/dep-test/package-lock.json - however, the node_modules directory does not exist. Please run npm install prior to running dependency-check
When I then look at my report I find that it has scanned 0 dependencies.
Now when I install all my node_modules and run the exact same command I find that it scans 1399 dependencies of which 419 are unique.
Version of dependency-check used
CLI 9.0.9
To Reproduce
Steps to reproduce the behavior:
- Clone a Typescript project
- Run the tool and specify the package-lock.json
- Install the node_modules and run the tool again specifying the package-lock.json again
- Compare both outputs
Expected behavior
Dependency check should scan dependencies even if the node_modules aren't installed.
Describe the bug
I run dependency check with
sh dependency-check.sh --scan "/home/haxxor/dep-test/package-lock.json"When I look at what gets printed in my terminal I see this
When I then look at my report I find that it has scanned 0 dependencies.
Now when I install all my node_modules and run the exact same command I find that it scans 1399 dependencies of which 419 are unique.
Version of dependency-check used
CLI 9.0.9
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Dependency check should scan dependencies even if the node_modules aren't installed.