查看: 96|回复: 3

如何优雅的一键下载OpenHarmony活跃分支代码?请关注【itopen:ohos_download】

[复制链接]

1

主题

1

回帖

13

积分

新手上路

积分
13
发表于 2025-3-30 12:28:49 | 显示全部楼层 |阅读模式
你是否还在为每次要下载OpenHarmonoy代码到处找寻命令?各种保存不同版本的代码下载命令?小编这里为大家提供了一套优雅的一键下载OpenHarmony的主流分支/Tag的小工具如果觉得好用,辛苦动动小手,点个赞一键下载openharmony代码
itopen组织1、提供OpenHarmony优雅实用的小工具2、手把手适配riscv + qemu + linux的三方库移植3、未来计划riscv + qemu + ohos的三方库移植 + 小程序开发4、一切拥抱开源,拥抱国产化

0

主题

2

回帖

10

积分

新手上路

积分
10
发表于 2025-3-30 12:29:02 | 显示全部楼层
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

1

主题

1

回帖

14

积分

新手上路

积分
14
发表于 2025-3-30 12:29:45 | 显示全部楼层
回复 cuncaojin: 你是执行什么命令报这个错误的?
[/td][/tr][/table][/td][/tr][tr][td]榜单了解详情')">有用 榜单了解详情')">无用 回复举报

[/td][/tr][/table]

润开鸿_闻飞
发表于 2025-1-4 13:57 IP属地:  江苏省扬州市


回复 cuncaojin: 有点像是网络问题



榜单了解详情')">有用 榜单了解详情')">无用 回复举报



【2 条回复】

[/td][/tr][tr][td][/td][/tr][tr][/tr][tr][td]                                            回复举报
                    

[/td][/tr][tr][td][/td][/tr][/table]                                                <div class="ssfv" key="2" >                    <div id="post_9795" style="position: relative" class="a0a viewbox otherfloor cl" >            
<div class="viewinfo">[table][tr][td]
                 cuncaojin  
板凳                                    发表于 2024-12-28 01:22:42


<div class="pct"><div class="pcb"><div class="t_fsz">[table][tr][td]error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.1/82596), 469.48 MiB | 46.00 KiB/s
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

2

主题

4

回帖

18

积分

新手上路

积分
18
发表于 2025-3-30 12:30:11 | 显示全部楼层
回复 cuncaojin: 这个有三种可能性:
[/td][/tr][/table][/td][/tr][tr][td]榜单了解详情')">有用 榜单了解详情')">无用 回复举报

[/td][/tr][/table]

润开鸿_闻飞
发表于 2025-1-4 13:59 IP属地:  江苏省扬州市


回复 cuncaojin: 这个有三种可能性
1、网络问题
2、权限问题,是不是公司设置了网络访问权限?
3、git的http下载缓存太小了,你可以网上搜索一下增加缓存的方法




榜单了解详情')">有用 榜单了解详情')">无用 回复举报



【2 条回复】

[/td][/tr][tr][td][/td][/tr][tr][/tr][tr][td]                                            回复举报
                    

[/td][/tr][tr][td][/td][/tr][/table]                                                <div class="ssfv" key="3" >                    <div id="post_9796" style="position: relative" class="a0a viewbox otherfloor cl" >            
<div class="viewinfo">[table][tr][td]
                 cuncaojin  
地板                                    发表于 2024-12-28 11:17:14


<div class="pct"><div class="pcb"><div class="t_fsz">[table][tr][td]start npm install, please wait.
Traceback (most recent call last):
  File "/home/cuncaojin/work/openharmony/ohos_40/build/prebuilts_download.py", line 361, in <module>
    sys.exit(main())
  File "/home/cuncaojin/work/openharmony/ohos_40/build/prebuilts_download.py", line 350, in main
    _npm_install(args)
  File "/home/cuncaojin/work/openharmony/ohos_40/build/prebuilts_download.py", line 209, in _npm_install
    proc = subprocess.Popen(cmd, cwd=full_code_path, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'xxxxx/prebuilts/build-tools/common/nodejs/current/bin/npm'

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表