• 请不要在回答技术问题时复制粘贴 AI 生成的内容
Technetiumer
V2EX  ›  程序员

安装 Spacemacs 报错

  •  
  •   Technetiumer · Dec 12, 2016 · 4381 views
    This topic created in 3452 days ago, the information mentioned may be changed or developed.

    按照 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 镜像呢

    Supplement 1  ·  Dec 13, 2016
    国外源和国内源都试过,能用浏览器直接打开 emacs-china 的源, https 和 http 都试过,试过很多 Spacemacs 版本,我试试旧版本 emacs 去。
    5 replies    2016-12-13 08:30:27 +08:00
    hei1000
        1
    hei1000  
       Dec 13, 2016
    贴到这里来你认为比贴到 Spacemacs 项目 issues 页解决的几率大?
    lululau
        2
    lululau  
       Dec 13, 2016 via iPhone
    这不就是 emacs-China 的 elpa 镜像 Down 了,明天再试试
    jworg
        3
    jworg  
       Dec 13, 2016 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  
       Dec 13, 2016 via iPhone
    用国外 melpa 镜像不好吗
    rashawn
        5
    rashawn  
       Dec 13, 2016 via iPhone
    还不行就换成 http 在配置文件里搜 https
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5214 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 01:18 · PVG 09:18 · LAX 18:18 · JFK 21:18
    ♥ Do have faith in what you're doing.