Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS installation thinks I am under linux #16587

Closed
moritzschaefer opened this issue Sep 20, 2024 · 2 comments
Closed

macOS installation thinks I am under linux #16587

moritzschaefer opened this issue Sep 20, 2024 · 2 comments

Comments

@moritzschaefer
Copy link
Contributor

moritzschaefer commented Sep 20, 2024

Description :octocat:

I installed d12frosted/emacs-plus/emacs-plus@29, and cloned spacemacs to .emacs.d (develop branch). However, when starting, I can only select whether I want the "vim" or "emacs" keybindings and afterwards it crashes with the error

(Creating directory. Operation not supported /home/moritz)

The obvious reason being that under macOS, there is no /home (rather /Users).

Reproduction guide 🪲

  • Start Emacs

Observed behaviour: 👀 💔

Warning (initialization): An error occurred while loading ‘/Users/moritz/.emacs.d/init.el’:

File error: Creating directory, Operation not supported, /home/moritz

Expected behaviour: ❤️ 😄
.spacemacs initializes as expected

@alexey0308
Copy link

Hi Moritz @moritzschaefer, is it happening with the default .spacemacs as well? Just to exclude the case that you might have some hand-coded paths in your config with "/home" in it.

You can also set (setq debug-on-error t) in the beginning of you init.el file and see what is the error source.

@moritzschaefer
Copy link
Contributor Author

Thanks, it was due to .spacemacs.env! I got heavily confused because the error arose from init.el (instead of my .spacemacs.d config).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants