Open bmacher opened 4 months ago
I ran into this issue today, and it seems to be recent and there is still no answer to it.
While waiting for the official team to fix this, there is a temporary solution: yarn config set strict-ssl false
I've just run into this:
Running command yarn install
yarn install v1.22.21
[1/4] Resolving packages...
[2/4] Fetching packages...
error Error: certificate has expired
Thanks to panjf2000 for the suggestion, I'll see about trying that if it doesn't magically resolve soon.
Also running into this
In our case the problem was a npm registry proxy that was pinned in yarn.lock
was no longer available, and the fix was to change the registry that's pinned. You can regenerate the resolved registry by deleting the resolved
lines from yarn.lock and running yarn install
again.
Same for me. The node version I'm using is v20.11.0. However, after switching node to v16.xx, yarn works normally.
I ran into this issue today, and it seems to be recent and there is still no answer to it.
While waiting for the official team to fix this, there is a temporary solution:
yarn config set strict-ssl false
It works, thank u!
rm yarn.lock yarn
this one is ok for me
rm yarn.lock yarn
Based on @MythicManiac you can do sed -i /resolved/d yarn.lock
instead (it worked for me).
yarn config set registry "https://registry.npm.taobao.org" ×
修正后(After correction):
yarn config set registry "https://registry.npmmirror.com" √
Hi,
yarn
fails in my GitHub actions and I don't find any information how to fix it. This is what I get:Please can anyone help? :-)