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

Local issuer certificate error with sfcc-ci npm install

Open rpillamerkle opened this issue 2 years ago • 2 comments

sfcc-ci Version

2.11

NodeJS Version

10.23

sfcc-ci Path

No response

Host OS Details

No response

What happened?

We are trying to do npm install where we have sfcc-ci as a dependency in the package.json "sfcc-ci": "SalesforceCommerceCloud/sfcc-ci#v2.11.0"

npm is throwing an error while installing sfcc-ci dependency. It is failing at prepare: npm run synk-protect. We have tried with the later versions of node, but no luck.

At the end it should NOPACKAGEJSON error even through repo contains the package.json

image

Anyone faced this issue?

Relevant log output

No response

rpillamerkle avatar May 18 '23 18:05 rpillamerkle

Hi @rpillamerkle, in the screenshot it says version v2.6.0, whereas in the description you say v2.11.0. Can you clarify please?

In current master (precisely in commit https://github.com/SalesforceCommerceCloud/sfcc-ci/commit/d6e64578f4cceeab7f8c8285ccd5a5307d75e6c6) there is a change related to snyk protect. Just to verify: can you depend from that and see if the npm install is working fine then?

tobiaslohr avatar May 23 '23 16:05 tobiaslohr

@tobiaslohr Thanks for the reply. I was just trying different versions. So, the same error shows up for both the versions. We have used the commit version that you mentioned, the error shows up for that version as well.

rpillamerkle avatar May 23 '23 16:05 rpillamerkle