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
{{ message }}
This repository was archived by the owner on Jun 9, 2022. It is now read-only.
Description
When running the module
node-npmauditon windows, an error is output as followsnode-npmaudit returned an error! spawn npm ENOENTSteps to Reproduce
npm run hawkeye scan --target .Expected behavior:
No errors, npm audit successfully run
Actual behavior:
Error output
Version
npm 6.9.0, 6.12.0 or 6.13.0
"@hawkeyesec/scanner-cli": "^1.7.1"
Additional Information
Changing line 29 from
'npm audit --json'to'npm.cmd audit --json'in@hawkeyesec\scanner-cli\lib\modules\node-npmaudit\index.jsremoves the issue.https://stackoverflow.com/questions/43230346/error-spawn-npm-enoent/43285131