Here's the result of yarn
command:
yarn install v1.22.10
info No lockfile found.
[1/4] Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@volo%2fabp.aspnetcore.mvc.ui.theme.leptonx: unable to verify the first certificate".
info If you think this is a bug, please open a bug report with the information provided in "ProjectPath\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
yarn-error.log
:
Arguments:
C:\Program Files\nodejs\node.exe C:\Users\DawidK\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js
PATH:
...
Yarn version:
1.22.10
Node version:
18.20.2
Platform:
win32 x64
Trace:
Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1659:34)
at TLSSocket.emit (node:events:517:28)
at TLSSocket._finishInit (node:_tls_wrap:1070:8)
at ssl.onhandshakedone (node:_tls_wrap:856:12)
npm manifest:
{
"version": "0.1.0",
"name": "my-app-authserver",
"private": true,
"dependencies": {
"@volo/abp.aspnetcore.mvc.ui.theme.leptonx": "~3.1.1",
"@volo/account": "~8.0.1"
}
}
yarn manifest:
No manifest
Lockfile:
No lockfile
Your link to package.json doesn't work. I am sure that my package.json file is correct.
I did some research and turns out that after some update ESET started blocking https access for npm/node.js Here are some details: https://forum.eset.com/topic/40702-eset-ssl-protection-produces-an-invalid-certificate-chain-for-nodejs-apps/