Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with Snyk on CI #334

Open
lisunovdv opened this issue Oct 31, 2022 · 2 comments
Open

Problems with Snyk on CI #334

lisunovdv opened this issue Oct 31, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@lisunovdv
Copy link
Contributor

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 lisunovdv added the bug Something isn't working label Oct 31, 2022
@tobiaslohr
Copy link
Contributor

Hi @lisunovdv, we've provided a change as part of #470. It's available in master, no release yet. Would you be able to re-test and let us know, if this fixes your issue?

@tobiaslohr tobiaslohr self-assigned this Mar 8, 2023
@kcognata
Copy link

kcognata commented May 5, 2023

@tobiaslohr your #470 changes do seem to fix the synk issue for me, thanks! Look forward to this being in a release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants