Skip to main content
deleted 7 characters in body
Source Link

I have just tried to setup magit using straight.el in my init file as follows:

(use-package magit
       :straight t
       :bind ("C-x g" . magit-status)
       :commands (magit-status magit-get-current-branch))

However upon restarting emacs (v28.1) on my macOS (Montery v12.2.1) I get the following error message:

command-execute: Cannot open load file: No such file or directory, ../../../../../../../.emacs.d/straight/build/magit/magit-status

For some reason straight.el seems to be searching for the clone in several directories above the current one. It seems to be doing this to many other newly installed packages, e.g. projectile.

Note that my ~/.emacs.d is symlinked to my dropbox folder in case that is relevant:

.emacs.d -> ~/DROPBOX/REPOS/dotfiles/.emacs.d

It seems that a similar issue has been flagged here, but I'm not sure what the resolution is. For reference here is my init file.

How can this be rectified?

Update: I've cross-posted this here, since the comments to this post lead back to this thread. I will post any helpful responses on either thread to the other one to ensure that all helpful commentsthe responses are passed onto users with the same issue.

I have just tried to setup magit using straight.el in my init file as follows:

(use-package magit
       :straight t
       :bind ("C-x g" . magit-status)
       :commands (magit-status magit-get-current-branch))

However upon restarting emacs (v28.1) on my macOS (Montery v12.2.1) I get the following error message:

command-execute: Cannot open load file: No such file or directory, ../../../../../../../.emacs.d/straight/build/magit/magit-status

For some reason straight.el seems to be searching for the clone in several directories above the current one. It seems to be doing this to many other newly installed packages, e.g. projectile.

Note that my ~/.emacs.d is symlinked to my dropbox folder in case that is relevant:

.emacs.d -> ~/DROPBOX/REPOS/dotfiles/.emacs.d

It seems that a similar issue has been flagged here, but I'm not sure what the resolution is. For reference here is my init file.

How can this be rectified?

Update: I've cross-posted this here, since the comments to this post lead back to this thread. I will post any helpful responses on either thread to the other one to ensure that all helpful comments are passed onto users with the same issue.

I have just tried to setup magit using straight.el in my init file as follows:

(use-package magit
       :straight t
       :bind ("C-x g" . magit-status)
       :commands (magit-status magit-get-current-branch))

However upon restarting emacs (v28.1) on my macOS (Montery v12.2.1) I get the following error message:

command-execute: Cannot open load file: No such file or directory, ../../../../../../../.emacs.d/straight/build/magit/magit-status

For some reason straight.el seems to be searching for the clone in several directories above the current one. It seems to be doing this to many other newly installed packages, e.g. projectile.

Note that my ~/.emacs.d is symlinked to my dropbox folder in case that is relevant:

.emacs.d -> ~/DROPBOX/REPOS/dotfiles/.emacs.d

It seems that a similar issue has been flagged here, but I'm not sure what the resolution is. For reference here is my init file.

How can this be rectified?

Update: I've cross-posted this here, since the comments to this post lead back to this thread. I will post any helpful responses on either thread to the other one to ensure that the responses are passed onto users with the same issue.

added 344 characters in body
Source Link

I have just tried to setup magit using straight.el in my init file as follows:

(use-package magit
       :straight t
       :bind ("C-x g" . magit-status)
       :commands (magit-status magit-get-current-branch))

However upon restarting emacs (v28.1) on my macOS (Montery v12.2.1) I get the following error message:

command-execute: Cannot open load file: No such file or directory, ../../../../../../../.emacs.d/straight/build/magit/magit-status

For some reason straight.el seems to be searching for the clone in several directories above the current one. It seems to be doing this to many other newly installed packages, e.g. projectile.

Note that my ~/.emacs.d is symlinked to my dropbox folder in case that is relevant:

.emacs.d -> ~/DROPBOX/REPOS/dotfiles/.emacs.d

It seems that a similar issue has been flagged here, but I'm not sure what the resolution is. For reference here is my init file.

How can this be rectified?

Update: I've cross-posted this here, since the comments to this post lead back to this thread. I will post any helpful responses on either thread to the other one to ensure that all helpful comments are passed onto users with the same issue.

I have just tried to setup magit using straight.el in my init file as follows:

(use-package magit
       :straight t
       :bind ("C-x g" . magit-status)
       :commands (magit-status magit-get-current-branch))

However upon restarting emacs (v28.1) on my macOS (Montery v12.2.1) I get the following error message:

command-execute: Cannot open load file: No such file or directory, ../../../../../../../.emacs.d/straight/build/magit/magit-status

For some reason straight.el seems to be searching for the clone in several directories above the current one. It seems to be doing this to many other newly installed packages, e.g. projectile.

Note that my ~/.emacs.d is symlinked to my dropbox folder in case that is relevant:

.emacs.d -> ~/DROPBOX/REPOS/dotfiles/.emacs.d

It seems that a similar issue has been flagged here, but I'm not sure what the resolution is. For reference here is my init file.

How can this be rectified?

I have just tried to setup magit using straight.el in my init file as follows:

(use-package magit
       :straight t
       :bind ("C-x g" . magit-status)
       :commands (magit-status magit-get-current-branch))

However upon restarting emacs (v28.1) on my macOS (Montery v12.2.1) I get the following error message:

command-execute: Cannot open load file: No such file or directory, ../../../../../../../.emacs.d/straight/build/magit/magit-status

For some reason straight.el seems to be searching for the clone in several directories above the current one. It seems to be doing this to many other newly installed packages, e.g. projectile.

Note that my ~/.emacs.d is symlinked to my dropbox folder in case that is relevant:

.emacs.d -> ~/DROPBOX/REPOS/dotfiles/.emacs.d

It seems that a similar issue has been flagged here, but I'm not sure what the resolution is. For reference here is my init file.

How can this be rectified?

Update: I've cross-posted this here, since the comments to this post lead back to this thread. I will post any helpful responses on either thread to the other one to ensure that all helpful comments are passed onto users with the same issue.

edited tags
Link
added 110 characters in body
Source Link
Loading
edited tags
Link
Drew
  • 79.1k
  • 10
  • 123
  • 257
Loading
added 324 characters in body
Source Link
Loading
Source Link
Loading