5

Straight.el Bootstrap and Package Install Issue

 3 years ago
source link: https://jdhao.github.io/2021/09/15/emacs_straight-el_bootstrap_install_issue/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Straight.el Bootstrap and Package Install Issue

2021-09-15129 words 1 min read 16 times read

I am using straight.el for managing my packages. However, due to GitHub access issues, the bootstrap snippet can not be downloaded successfully and run. After staring Emacs, it hangs forever with high CPU usage.

Here is what is working for me. After following these steps, I can install packages without issue.

Here is what works for me:

  1. Go to ~/.emacs.d, the directory varies based on your system1.
  2. Clone the straight.el repo:
git clone https://github.com/raxod502/straight.el.git  straight/repos/straight.el
  1. Change the git default url using the following command as per guide here.
git config --global url."https://hub.fastgit.org/".insteadOf "https://github.com/"
git config protocol.https.allow always
  1. Remove the straight.el bootstrap snippet from init.el.

Restart Emacs and just wait. All my packages are installed and build successfully.

References


  1. Check here for the actual path. ↩︎

Author jdhao

LastMod 2021-09-16

License CC BY-NC-ND 4.0

Reward
Learning Emacs as A Nvimmer in One Day

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK