snyk-filter
snyk-filter copied to clipboard
[BUG]:
Is there an existing issue for this?
- [X] I have searched the existing issues
Description of the bug
Show the following error
filter failed
err
Error: spawn Unknown system error -86
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:757:9)
at /Users/kingwu/.nvm/versions/node/v18.16.1/lib/node_modules/snyk-filter/node_modules/node-jq/lib/exec.js:22:45
at new Promise (<anonymous>)
at Object.exec [as default] (/Users/kingwu/.nvm/versions/node/v18.16.1/lib/node_modules/snyk-filter/node_modules/node-jq/lib/exec.js:15:12)
at /Users/kingwu/.nvm/versions/node/v18.16.1/lib/node_modules/snyk-filter/node_modules/node-jq/lib/jq.js:17:27
at new Promise (<anonymous>)
at Object.run (/Users/kingwu/.nvm/versions/node/v18.16.1/lib/node_modules/snyk-filter/node_modules/node-jq/lib/jq.js:15:12)
at /Users/kingwu/.nvm/versions/node/v18.16.1/lib/node_modules/snyk-filter/lib/snyk-filter.js:154:8
at new Promise (<anonymous>) {
errno: -86,
code: 'Unknown system error -86',
syscall: 'spawn'
}
Steps To Reproduce
use nodejs 18.16.1 and run the following command
snyk-filter -i ./sample-data/snyk-sample-results.json -f ./sample-filters/example-complex-combination-SCA.yml
Additional Information
No response