无法获取node-webkit代码

时间:2013-09-02 05:09:29

标签: git chromium node-webkit

我创建了node-webkit目录并创建了一个.gclient文件,显示为here。我也为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_tools git目录并检查它时1.8.0.msysgit.0

此外,depot_tools位于路径系统变量PATH的最后一位。

我该怎么办?

2 个答案:

答案 0 :(得分:0)

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

答案 1 :(得分:0)

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