如何优雅的一键下载OpenHarmony活跃分支代码?请关注【itopen:ohos_download】
你是否还在为每次要下载OpenHarmonoy代码到处找寻命令?各种保存不同版本的代码下载命令?小编这里为大家提供了一套优雅的一键下载OpenHarmony的主流分支/Tag的小工具如果觉得好用,辛苦动动小手,点个赞一键下载openharmony代码itopen组织1、提供OpenHarmony优雅实用的小工具2、手把手适配riscv + qemu + linux的三方库移植3、未来计划riscv + qemu + ohos的三方库移植 + 小程序开发4、一切拥抱开源,拥抱国产化 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 回复 cuncaojin: 你是执行什么命令报这个错误的?
榜单了解详情')">有用 榜单了解详情')">无用 回复举报
润开鸿_闻飞
发表于 2025-1-4 13:57 IP属地:江苏省扬州市
回复 cuncaojin: 有点像是网络问题
榜单了解详情')">有用 榜单了解详情')">无用 回复举报
【2 条回复】
回复举报
<div class="ssfv" key="2" > <div id="post_9795" style="position: relative" class="a0a viewbox otherfloor cl" >
<div class="viewinfo">
cuncaojin
板凳 发表于 2024-12-28 01:22:42
<div class="pct"><div class="pcb"><div class="t_fsz">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 回复 cuncaojin: 这个有三种可能性:
榜单了解详情')">有用 榜单了解详情')">无用 回复举报
润开鸿_闻飞
发表于 2025-1-4 13:59 IP属地:江苏省扬州市
回复 cuncaojin: 这个有三种可能性
1、网络问题
2、权限问题,是不是公司设置了网络访问权限?
3、git的http下载缓存太小了,你可以网上搜索一下增加缓存的方法
榜单了解详情')">有用 榜单了解详情')">无用 回复举报
【2 条回复】
回复举报
<div class="ssfv" key="3" > <div id="post_9796" style="position: relative" class="a0a viewbox otherfloor cl" >
<div class="viewinfo">
cuncaojin
地板 发表于 2024-12-28 11:17:14
<div class="pct"><div class="pcb"><div class="t_fsz">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: No such file or directory: 'xxxxx/prebuilts/build-tools/common/nodejs/current/bin/npm'
页:
[1]