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

做网站找哪家灰色词排名接单

做网站找哪家,灰色词排名接单,产品网站更新内容,php购物商城源码鸿蒙 解决下载SDK报错的解决方法 最近在学习鸿蒙开发,以后也会记录一些关于鸿蒙相关的问题和解决方法,希望能帮助到大家。 总的来说一般有下面这样的报错 报错一: Components to install: - ArkTS 3.2.12.5 - System-image-phone 3.1.0.3…

鸿蒙 解决下载SDK报错的解决方法

最近在学习鸿蒙开发,以后也会记录一些关于鸿蒙相关的问题和解决方法,希望能帮助到大家。

总的来说一般有下面这样的报错

报错一:
Components to install:
- ArkTS 3.2.12.5
- System-image-phone 3.1.0.306
- Native 3.2.12.5
- JS 3.2.12.5Install task started: ArkTS 3.2.12.5
Downloading https://contentcenter-drcn.dbankcdn.cn/pub_1/DevEcoSpace_1_900_9/b7/v3/fMjcKBCJRHKV3-4Mm5H6bQ/P0ryC2BASauqeQgRtik8Zw.zip...
Unzipping /Users/xxxx/Library/Huawei/Sdk/.temp/ets/3.2.12.5/install/P0ryC2BASauqeQgRtik8Zw.zip...
Installing ArkTS dependencies...
Running 'npm install'...
npm ERR! code ECONNRESET
npm ERR! syscall read
npm ERR! errno ECONNRESET
npm ERR! network request to https://repo.huaweicloud.com/repository/npm/yocto-queue/-/yocto-queue-0.1.0.tgz failed, reason: read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/xxxx/.npm/_logs/2024-05-19T14_14_53_311Z-debug-0.log
Install task failed: ArkTS 3.2.12.5.
Install ArkTS dependencies failed.
Cause: Unable to run npm install.
Solution: See https://developer.harmonyos.com/cn/docs/documentation/doc-guides/faq-development-environment-0000001168829643#section1311117111474
报错二
- ArkTS 3.2.12.5
- System-image-phone 3.1.0.306
- Previewer 3.2.3.6
- Toolchains 3.2.3.6
- Previewer 3.2.12.5
- Native 3.2.12.5
- JS 3.2.12.5Install task started: ArkTS 3.2.12.5
Downloading https://contentcenter-drcn.dbankcdn.cn/pub_1/DevEcoSpace_1_900_9/b7/v3/fMjcKBCJRHKV3-4Mm5H6bQ/P0ryC2BASauqeQgRtik8Zw.zip...
Install task failed: ArkTS 3.2.12.5.
Failed to download SDK, size is incorrect, expected is 47,480,047, actual is 39,845,888
Cause: The network is unstable. SDK package integrity check failed.
Solution: 
1. Connect to a stable network and download the file again.
2. If the issue persists, choose Help > Show Log in Explorer to obtain logs, and then choose Help > Contact Support for technical assistance.
报错三
Install task failed: ArkTS 3.2.12.5. Failed to download the SDK due to UNKNOWN_HOST. Cause: DNS reso
Solution: Change the DNS server and try again
报错四
Failed to obtain the SDK information. The SDK will not be downloaded. You can download the SDK later

问题分析定位

1、网络问题,检查你的代理是否可用
2、npm版本问题
3、node版本问题

解决方法

1、首先检查你的node版本

the node.js version must be v14.19.1 or later and earlier than v17.0.0.the current version is v22.2.0
node.js版本必须为v14.19.1及以上且低于v17.0.0。当前版本是v22.2.0

可以使用下面命令来设置当前node版本,如果没有nvm可以自行搜索下载安装
请添加图片描述

2、修改地址确定:https://registry.npmjs.org/
请添加图片描述

3、假如你安装失败了,已经跳过了安装SDK的界面,可以点击import setting来进行重新设置,点击Configure请添加图片描述
请添加图片描述
点击选SDK,然后确定,然后按确定按钮,就会重新跳到设置页面,如下所示:
请添加图片描述
记得选择node版本为v16.19.1的,如何你没有设置代理,请先设置代理,然后验证代理链接是否是通的,点击Next就可以下载鸿蒙的SDK了。

下载好的效果

请添加图片描述

结论

尽量在网络好一些的环境去下载,这样不会下载超时,希望这篇文章能帮助到你。

http://www.khdw.cn/news/31946.html

相关文章:

  • django 网站开发视频教程seo概念
  • 中山快速做网站价格谷歌seo外包
  • 临海企业网站建设公司河北百度推广
  • 网上接手袋做是哪一个网站正规的代运营公司
  • 浙江建设厅网站查询提高工作效率
  • 三年高清在线观看全集 下载西安百度seo推广电话
  • 免费网站链接成都移动seo
  • 2022年最近十大新闻北京百度搜索优化
  • 顾家家居网站是哪个公司做的创建网站花钱吗
  • 众筹网站怎么做模板建站优点
  • 成都高端网站制作百度提交网站收录入口
  • 个人 网站 备案曹操博客seo
  • 网站开发武胜招聘品牌策略有哪些
  • 自动化设备东莞网站建设广告竞价
  • 上饶金河湾做网站seo优化什么意思
  • 网站 文件夹 上传网站建设选亿企网络
  • 分类目录网站程序推广赚佣金项目
  • 做网站推广需要什么专业网络营销成功的案例
  • 重庆市建设工程造价信息表谷歌seo推广
  • 淮安网站seo软文网站发布平台
  • 怎么做网站关键词seo是什么软件
  • 网站后台管理banner最近新闻大事
  • 微网站搭建平台网站seo外链建设
  • 韩国手表网站谷歌官网入口手机版
  • 建筑知识网站网络推广公司收费标准
  • 江苏省建设银行网站网络营销企业有哪些公司
  • 珠海网站建设最新报价深圳市seo点击排名软件价格
  • 昌吉做58网站的他达拉非功效与作用主要会有哪些
  • 一号店网上商城淘宝seo搜索优化
  • 美工培训班费用一般多少电商seo什么意思