V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Technetiumer
V2EX  ›  程序员

安装 Spacemacs 报错

  •  
  •   Technetiumer · 2016-12-12 23:26:54 +08:00 · 3942 次点击
    这是一个创建于 2718 天前的主题,其中的信息可能已经有所发展或是发生改变。

    按照 Spacemacs Rocks 和 Spacemacs 的 README 都试过,已经换源多次。

    Warning (spacemacs): 
    Error connection time out for melpa-cn repository!
    Warning (spacemacs): 
    Error connection time out for gnu-cn repository!
    Warning (spacemacs): An error occurred while retrieving the theme, using default theme. (error: (error Package ‘ spacemacs-theme-’ is unavailable))
    Warning (initialization): An error occurred while loading ‘ f:/space/.emacs.d/init.el ’:
    
    error: Package ‘ package-build-’ is unavailable
    
    To ensure normal operation, you should investigate and remove the
    cause of the error in your initialization file.  Start Emacs with
    the ‘--debug-init ’ option to view a complete error backtrace.
    Warning (spacemacs): 
    Error connection time out for melpa-cn repository!
    Warning (spacemacs): 
    Error connection time out for gnu-cn repository!
    Warning (spacemacs): An error occurred while retrieving the theme, using default theme. (error: (error Package ‘ spacemacs-theme-’ is unavailable))
    Warning (initialization): An error occurred while loading ‘ f:/space/.emacs.d/init.el ’:
    
    error: Package ‘ package-build-’ is unavailable
    
    To ensure normal operation, you should investigate and remove the
    cause of the error in your initialization file.  Start Emacs with
    the ‘--debug-init ’ option to view a complete error backtrace.
    
    Windows + Emacs 25.1 + Spacemacs 0.200.5
    

    有没有只包含 spacemacs 需要的包的 melpa 镜像,然后打包下载,然后直接用本地的 melpa 镜像呢

    第 1 条附言  ·  2016-12-13 09:48:00 +08:00
    国外源和国内源都试过,能用浏览器直接打开 emacs-china 的源, https 和 http 都试过,试过很多 Spacemacs 版本,我试试旧版本 emacs 去。
    5 条回复    2016-12-13 08:30:27 +08:00
    hei1000
        1
    hei1000  
       2016-12-13 00:24:41 +08:00
    贴到这里来你认为比贴到 Spacemacs 项目 issues 页解决的几率大?
    lululau
        2
    lululau  
       2016-12-13 00:49:10 +08:00 via iPhone
    这不就是 emacs-China 的 elpa 镜像 Down 了,明天再试试
    jworg
        3
    jworg  
       2016-12-13 03:24:01 +08:00 via Android
    Emacs 25.1 在 Windows 下的坑不止这一个的,去试试找那个 deps 包吧, http://emacs.stackexchange.com/questions/27202/how-do-i-install-gnutls-for-emacs-25-1-on-windows ,在找到这个之前,我也是一直连不上所有 melpa 的源及各种镜像,不过和你不同的是,我的 gnu 的源可以连上。

    最好还是换成 24.5 吧,稳定多了。
    rashawn
        4
    rashawn  
       2016-12-13 08:29:30 +08:00 via iPhone
    用国外 melpa 镜像不好吗
    rashawn
        5
    rashawn  
       2016-12-13 08:30:27 +08:00 via iPhone
    还不行就换成 http 在配置文件里搜 https
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4981 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 08:46 · PVG 16:46 · LAX 01:46 · JFK 04:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.