当前位置: 首页 > wzjs >正文

做网站 ecs vps昆明自动seo

做网站 ecs vps,昆明自动seo,网站开发的全套软件,网站如何强制修改主页 源码在使用 yarn 安装 electron 时,报证书过期的错误。原因是以前使用的阿里的镜像已经过期,改成新的镜像地址就可以了。 报错信息 yarn add electron --dev yarn add v1.22.5 info No lockfile found. [1/4] Resolving packages... ⠁ (node:33196) [DEP0…

在使用 yarn 安装 electron 时,报证书过期的错误。原因是以前使用的阿里的镜像已经过期,改成新的镜像地址就可以了。

报错信息

yarn add electron --dev
yarn add v1.22.5
info No lockfile found.
[1/4] Resolving packages...
⠁ (node:33196) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
warning electron > @electron/get > global-agent > boolean@3.2.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning electron > @electron/get > global-agent > roarr > boolean@3.2.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error D:\xx\my-electron-app\node_modules\electron: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: \node_modules\electron
Output:
RequestError: certificate has expiredat ClientRequest.<anonymous> (node_modules\got\dist\source\core\index.js:970:111)at Object.onceWrapper (node:events:633:26)at ClientRequest.emit (node:events:530:35)at origin.emit (node_modules\@szmarczak\http-timer\dist\source\index.js:43:20)at emitErrorEvent (node:_http_client:104:11)at TLSSocket.socketErrorListener (node:_http_client:518:5)at TLSSocket.emit (node:events:518:28)at emitErrorNT (node:internal/streams/destroy:170:8)at emitErrorCloseNT (node:internal/streams/destroy:129:3)at process.processTicksAndRejections (node:internal/process/task_queues:90:21)at TLSSocket.onConnectSecure (node:_tls_wrap:1679:34)at TLSSocket.emit (node:events:518:28)at TLSSocket._finishInit (node:_tls_wrap:1078:8)at ssl.onhandshakedone (node:_tls_wrap:864:12)
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

查看配置

yarn config list
yarn config v1.22.5
info yarn config
{'version-tag-prefix': 'v','version-git-tag': true,'version-commit-hooks': true,'version-git-sign': false,'version-git-message': 'v%s','init-version': '1.0.0','init-license': 'MIT','save-prefix': '^','bin-links': true,'ignore-scripts': false,'ignore-optional': false,registry: 'https://registry.yarnpkg.com','strict-ssl': false,'user-agent': 'yarn/1.22.5 npm/? node/v22.14.0 win32 x64',ELECTRON_MIRROR: 'https://cdn.npm.taobao.org/dist/electron/',lastUpdateCheck: 1741746057185
}
info npm config
{}
Done in 0.06s.

修改镜像配置

yarn config set ELECTRON_MIRROR https://registry.npmmirror.com/-/binary/electron/

查看修改后的配置

yarn config list
yarn config v1.22.5
info yarn config
{'version-tag-prefix': 'v','version-git-tag': true,'version-commit-hooks': true,'version-git-sign': false,'version-git-message': 'v%s','init-version': '1.0.0','init-license': 'MIT','save-prefix': '^','bin-links': true,'ignore-scripts': false,'ignore-optional': false,registry: 'https://registry.yarnpkg.com','strict-ssl': false,'user-agent': 'yarn/1.22.5 npm/? node/v22.14.0 win32 x64',ELECTRON_MIRROR: 'https://registry.npmmirror.com/-/binary/electron/',lastUpdateCheck: 1741746057185
}
info npm config
{}
Done in 0.06s.

1

相关链接

https://mjpclab.site/uncategorized/npm-install-electron-by-mirror

http://www.dtcms.com/wzjs/159515.html

相关文章:

  • 律师做推广宣传的网站百度客户端官网
  • 什么是网站地址素材网
  • 北京别墅设计网站手机百度收录提交入口
  • 杭州定制网站公司百度快速收录接口
  • 免费个人网站建站南城网站优化公司
  • 网站建设与管理实践收获企业网站设计要求
  • ppt模板网站开发政府免费培训面点班
  • 珠海住建网站百度今日数据
  • 淘宝网淘宝网页版沈阳百度seo关键词排名优化软件
  • 做电影网站都需要什么工具网站查询信息
  • 现在新闻做的最好的网站seo关键词快速排名软件
  • 一个人怎么做网站信息流广告推广
  • 做网站设计方案怎么写抖音优化是什么意思
  • wordpress 修改注册seo排名诊断
  • 做网站空间备案的职业立即优化在哪里
  • 昆山网站建设需要多少钱关键词seo深圳
  • h5商城网站怎么做怎样开自己的网站
  • 西安网站快速优化最新重大新闻
  • 建设监理收录网站互动营销案例都有哪些
  • 网站开发课程建议免费的网页设计成品下载
  • 武汉博晟做的网站广告外链购买交易平台
  • 专业团队为您服务的句子西安seo代理计费
  • wordpress自定义播放器seo软件视频教程
  • 用c做网站搜索引擎营销seo
  • phpcmsv9网站建设入门教程seo在线推广
  • 如何做网站首页优化广告投放网站平台
  • 网站导航这么做新闻稿
  • 网站变移动网站竞价软件哪个好
  • 苏州建设银行招聘网站网站流量统计
  • 广德网站开发百度竞价排名收费