Solved

App deploy error: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'

Hellenn
Shopify Partner
4 2 0

npm run deploy

I have the next error:

external error:

Error coming from `npm exec -- javy --version`

Command failed with exit code 2: npm exec -- javy --version
FetchError: request to https://github.com/bytecodealliance/javy/releases/latest/download/lol failed, reason: unable to verify the first certificate
at ClientRequest.<anonymous> (file:///C:/work/project/aurora-medical-store/aurora-app/node_modules/javy-cli/node_modules/node-fetch/src/index.js:108:11)
at ClientRequest.emit (node:events:518:28)
at TLSSocket.socketErrorListener (node:_http_client:500:9)
at TLSSocket.emit (node:events:518:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: 'system',
errno: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE',
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE',
erroredSysCall: undefined
}

Accepted Solution (1)

Hellenn
Shopify Partner
4 2 0

This is an accepted solution.

My antivirus ESET blocked fetch packages.

I've found so;ution in the one of the forums: https://www.reddit.com/r/node/comments/1c8mqsa/cert_issue_npm_unable_to_verify_leaf_signature/

Adding an exception for Node in SSL protection rules seems to help.

ESET Antivirus Setup -> Web and email -> Web control ->SSL/TLS -> Application scan rules -> Edit
Add C:\Users\[User Name]\AppData\Roaming\nvm\v20.12.2\node.exe -> Ignore

View solution in original post

Reply 1 (1)

Hellenn
Shopify Partner
4 2 0

This is an accepted solution.

My antivirus ESET blocked fetch packages.

I've found so;ution in the one of the forums: https://www.reddit.com/r/node/comments/1c8mqsa/cert_issue_npm_unable_to_verify_leaf_signature/

Adding an exception for Node in SSL protection rules seems to help.

ESET Antivirus Setup -> Web and email -> Web control ->SSL/TLS -> Application scan rules -> Edit
Add C:\Users\[User Name]\AppData\Roaming\nvm\v20.12.2\node.exe -> Ignore