File is missing when run doom doctor
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### I confirm that...
- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.
- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.
- [X] The issue can be reproduced on the **latest** available commit of Doom.
- [X] The issue can be reproduced on a stable release of Emacs, such as 27 or 28. *(Doom does not support development builds like 29+ or any version ending in .50 or .9x)*
### Expected behavior
When I run doom doctor, I got an error message:
$ .emacs.d/bin/doom doctor
The doctor will see you now...
> Checking your Emacs version...
> Checking for Doom's prerequisites...
x Couldn't find the `rg' binary; this a hard dependecy for Doom, file searches may not work at all
> Checking for Emacs config conflicts...
> Checking for great Emacs features...
! Emacs was not built with native compilation support
Users will see a substantial performance gain by building Emacs with
native compilation support, availible in emacs 28+.You must install a
prebuilt Emacs binary with this included, or compile Emacs with the
--with-native-compilation option.
> Checking for private config conflicts...
> Checking for stale elc files...
> Checking for problematic git global settings...
> Checking Doom Emacs...
✓ Initialized Doom Emacs 3.0.0-pre
✓ Detected 31 modules
✓ Detected 117 packages
> Checking Doom core for irregularities...
! Couldn't find the `fd' binary; project file searches will be slightly slower
x There was an unexpected runtime error
Message: File is missing
Details: ("Cannot open load file" "No such file or directory" "projectile")
Backtrace:
(require projectile)
(let ((doom-print-level (or nil doom-print-level)) (doom-print-inden...
(progn (let ((doom-print-level (or nil doom-print-level)) (doom-prin...
(let ((doom-print-level (or nil doom-print-level)) (doom-print-inden...
(progn (let ((doom-print-level (or nil doom-print-level)) (doom-prin...
(condition-case ex (progn (let ((doom-print-level (or nil doom-print...
(let nil (doom-print (doom-print--format "The doctor will see you no...
((closure (t) (cli alist) (let nil (doom-print (doom-print--format "...
(funcall (closure (t) (cli alist) (let nil (doom-print (doom-print--...
(doom-cli-execute #s(doom-cli ("doom" "doctor") nil (("SUMMARY" . "D...
(let ((cli x16) (bindings x17)) (doom-cli-execute cli bindings))
(let* ((x16 (car-safe x15)) (x17 (cdr-safe x15))) (let ((cli x16) (b...
! Wrote extended backtrace to ~/.emacs.d/.local/logs/cli.doom.221123235634.1882.error
### Current behavior
$ .emacs.d/bin/doom doctor
The doctor will see you now...
> Checking your Emacs version...
> Checking for Doom's prerequisites...
x Couldn't find the `rg' binary; this a hard dependecy for Doom, file searches may not work at all
> Checking for Emacs config conflicts...
> Checking for great Emacs features...
! Emacs was not built with native compilation support
Users will see a substantial performance gain by building Emacs with
native compilation support, availible in emacs 28+.You must install a
prebuilt Emacs binary with this included, or compile Emacs with the
--with-native-compilation option.
> Checking for private config conflicts...
> Checking for stale elc files...
> Checking for problematic git global settings...
> Checking Doom Emacs...
✓ Initialized Doom Emacs 3.0.0-pre
✓ Detected 31 modules
✓ Detected 117 packages
> Checking Doom core for irregularities...
! Couldn't find the `fd' binary; project file searches will be slightly slower
x There was an unexpected runtime error
Message: File is missing
Details: ("Cannot open load file" "No such file or directory" "projectile")
Backtrace:
(require projectile)
(let ((doom-print-level (or nil doom-print-level)) (doom-print-inden...
(progn (let ((doom-print-level (or nil doom-print-level)) (doom-prin...
(let ((doom-print-level (or nil doom-print-level)) (doom-print-inden...
(progn (let ((doom-print-level (or nil doom-print-level)) (doom-prin...
(condition-case ex (progn (let ((doom-print-level (or nil doom-print...
(let nil (doom-print (doom-print--format "The doctor will see you no...
((closure (t) (cli alist) (let nil (doom-print (doom-print--format "...
(funcall (closure (t) (cli alist) (let nil (doom-print (doom-print--...
(doom-cli-execute #s(doom-cli ("doom" "doctor") nil (("SUMMARY" . "D...
(let ((cli x16) (bindings x17)) (doom-cli-execute cli bindings))
(let* ((x16 (car-safe x15)) (x17 (cdr-safe x15))) (let ((cli x16) (b...
! Wrote extended backtrace to ~/.emacs.d/.local/logs/cli.doom.221123235634.1882.error
### Steps to reproduce
1. Open a git bash (msys2) window
2. run .emacs.d/bin/doom doctor
x There was an unexpected runtime error
Message: File is missing
Details: ("Cannot open load file" "No such file or directory" "projectile")
Backtrace:
(require projectile)
### System Information
https://gist.github.com/irobot-zyj/556cbc80be89e61035c44d7f67cdbb22
Contributor guide
Assessment
This issue has not been assessed yet.