Straight.el Bootstrap and Package Install Issue
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.
Straight.el Bootstrap and Package Install Issue
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:
- Go to
~/.emacs.d
, the directory varies based on your system1. - Clone the straight.el repo:
git clone https://github.com/raxod502/straight.el.git straight/repos/straight.el
- 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
- Remove the straight.el bootstrap snippet from
init.el
.
Restart Emacs and just wait. All my packages are installed and build successfully.
References
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK