Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
58.59k stars 3.37k forks source link

I can't install plugins #9441

Open line521356 opened 8 months ago

line521356 commented 8 months ago

Describe the problem: [When I installed the plugin, a message popped up saying "Error in xxx, [object, object]". When I entered debugging mode, I found that the error message was "FetchError: request to" https://registry.npm.taobao.org/terminus-altair "Failed, reason: certificate has expired".]

fatihusta commented 8 months ago

+1

wget https://registry.npm.taobao.org/state-local/download/state-local-1.0.7.tgz
--2024-02-02 20:23:12--  https://registry.npm.taobao.org/state-local/download/state-local-1.0.7.tgz
Resolving registry.npm.taobao.org (registry.npm.taobao.org)... 163.181.56.214, 163.181.56.215, 163.181.56.216, ...
Connecting to registry.npm.taobao.org (registry.npm.taobao.org)|163.181.56.214|:443... connected.
ERROR: cannot verify registry.npm.taobao.org's certificate, issued by 'CN=GlobalSign Organization Validation CA - SHA256 - G2,O=GlobalSign nv-sa,C=BE':
  Issued certificate has expired.
To connect to registry.npm.taobao.org insecurely, use `--no-check-certificate'.
L-Super commented 7 months ago

image

Me too

tyh97 commented 7 months ago

图片 me too

Version: 1.0.204 Platform: Windows x64 10.0.19045 Plugins: highlight Frontend: xterm-webgl

tyh97 commented 7 months ago

找到问题了,将npm源还原下就可以了

npm config set registry https://registry.npmjs.org/

L-Super commented 7 months ago

找到问题了,将npm源还原下就可以了

npm config set registry https://registry.npmjs.org/

👍

fatihusta commented 7 months ago

找到问题了,将npm源还原下就可以了

npm config set registry https://registry.npmjs.org/

I tried this npm config set registry https://registry.npmjs.org And yarn config set registry https://registry.npmjs.org/

But not worked.

yarn install --ignore-scripts
yarn install v1.22.21
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error Error: certificate has expired
    at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)
    at TLSSocket.emit (events.js:400:28)
    at TLSSocket._finishInit (_tls_wrap.js:937:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

I set yarn config set "strict-ssl" false -g it worked but this is not secure.

How can I fix this. Also what is going on registry.npm.taobao.org web site. Why certificate not updating?

yanhao-1420 commented 6 months ago

我也遇到了同样的问题,不过关掉代理就好了。