0

我创建了 node-webkit 目录并创建了一个 .gclient 文件,如下所示。我还为 depot_tools 和其他人做了所有设置。运行gclient sync给我错误:

remote: Counting objects: 2024928
remote: Counting objects: 2068705, done.
  No output for 30 seconds from command:
    git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --template
=C:\CEF\depot_tools\depot_tools\git-templates https://github.com/zcbenz/chromium
.git C:\CEF\node-webkit\_gclient_src_kxm4fo;  cwd=C:\CEF\node-webkit
remote: Compressing objects:  18% (71703/378108)
remote: Compressing objects: 100% (378108/378108)
remote: Compressing objects: 100% (378108/378108), done.
Receiving objects:   2% (45097/2068705), 15.07 MiB | 1.06 MiB/s
Receiving objects:   2% (45945/2068705), 15.32 MiB | 16 KiB/s
Receiving objects:   2% (46211/2068705), 15.39 MiB | 6 KiB/s
Receiving objects:   2% (46480/2068705), 15.47 MiB | 4 KiB/s
fatal: early EOF
fatal: The remote end hung up unexpectedly
fatal: index-pack failed
error: RPC failed; result=56, HTTP code = 200
Traceback (most recent call last):
  File "C:\CEF\depot_tools\depot_tools\\gclient.py", line 1804, in <module>
    sys.exit(Main(sys.argv[1:]))
  File "C:\CEF\depot_tools\depot_tools\\gclient.py", line 1794, in Main
    return dispatcher.execute(OptionParser(), argv)
  File "C:\CEF\depot_tools\depot_tools\subcommand.py", line 245, in execute
    return command(parser, args[1:])
  File "C:\CEF\depot_tools\depot_tools\\gclient.py", line 1590, in CMDsync
    return client.RunOnDeps('update', args)
  File "C:\CEF\depot_tools\depot_tools\\gclient.py", line 1152, in RunOnDeps
    work_queue.flush(revision_overrides, command, args, options=self._options)
  File "C:\CEF\depot_tools\depot_tools\gclient_utils.py", line 755, in run
    self.item.run(*self.args, **self.kwargs)
  File "C:\CEF\depot_tools\depot_tools\\gclient.py", line 627, in run
    self._used_scm.RunCommand(command, options, args, file_list)
  File "C:\CEF\depot_tools\depot_tools\gclient_scm.py", line 151, in RunCommand
    return getattr(self, command)(options, args, file_list)
  File "C:\CEF\depot_tools\depot_tools\gclient_scm.py", line 357, in update
    self._Clone(revision, url, options)
  File "C:\CEF\depot_tools\depot_tools\gclient_scm.py", line 879, in _Clone
    if os.listdir(tmp_dir):
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\CEF\\nod
e-webkit\\_gclient_src_kxm4fo/*.*'

当我从命令行执行 git --version 时,它会给出1.8.1.msysgit.1.

当我转到depot_toolsgit 目录并检查它时1.8.0.msysgit.0

depot_tools 也位于我的路径系统变量 PATH 的最后。

我应该怎么办 ?

4

2 回答 2

0

您的“git clone”命令的连接意外中断。您可以尝试手动克隆该存储库或找到更好的网络连接。

于 2013-09-03T01:30:33.030 回答
0

您可以在.DEPS.git中找到所有存储库。您可以按照手动克隆它们。

于 2013-09-04T00:59:38.210 回答