sfcc-ci icon indicating copy to clipboard operation
sfcc-ci copied to clipboard

Problems with Snyk on CI

Open lisunovdv opened this issue 2 years ago • 2 comments

sfcc-ci Version

2.9.1

NodeJS Version

16.18.0

sfcc-ci Path

/opt/hostedtoolcache/node/16.18.0/x64/lib/node_modules/sfcc-ci

Host OS Details

Pool: Azure Pipelines Image: ubuntu-20.04 Agent: Hosted Agent

Description

npm install -g sfcc-ci fails on CI with error:

npm ERR! code 127
npm ERR! path /opt/hostedtoolcache/node/16.18.0/x64/lib/node_modules/sfcc-ci/node_modules/snyk
npm ERR! command failed
npm ERR! command sh -c -- bash ./scripts/apply-patches.sh
npm ERR! bash: ./scripts/apply-patches.sh: No such file or directory

Temporary solution/workaround

npm install -g --ignore-scripts sfcc-ci

Relevant log output

No response

lisunovdv avatar Oct 31 '22 13:10 lisunovdv