类型错误:无法读取未定义的属性(读取"isServer")



尝试在项目文件夹中安装yarn install时出现错误

yarn install v1.22.15 
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz: 3224:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:677:
".
info If you think this is a bug, please open a bug report with the information provided in "D:\GitHub Projects\wallet-adapter\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
node:_tls_wrap:411
owner._tlsOptions.isServer ? 'server' : 'client', err,
^
TypeError: Cannot read properties of undefined (reading 'isServer')
at TLSWrap.onerror (node:_tls_wrap:411:27)

同样的错误发生在我,而试图安装npm install --g lerna

我正在CMD中尝试这些命令"命令提示符">

请将cypress升级到12.6.0版本,并将代码迁移到新版本。这应该行得通,对我来说行得通。

相关内容

  • 没有找到相关文章

最新更新