dap-mode
dap-mode copied to clipboard
Compilation errors
In Emacs 28.1 on Ubuntu 20.04, I got these errors while installing the latest dap-mode
. No errors are observed in 29.x.
Compiling file /home/vincent/.emacs.d/elpa/dap-mode-20230425.1859/dap-chrome.el at Wed Apr 26 10:15:47 2023
dap-chrome.el:30:1: Error: Wrong type argument: stringp, nil
───────────────────────────────────────────────────────────────────────────────
Compiling file /home/vincent/.emacs.d/elpa/dap-mode-20230425.1859/dap-codelldb.el at Wed Apr 26 10:15:47 2023
dap-codelldb.el:21:1: Error: Wrong type argument: stringp, nil
───────────────────────────────────────────────────────────────────────────────
Compiling file /home/vincent/.emacs.d/elpa/dap-mode-20230425.1859/dap-cpptools.el at Wed Apr 26 10:15:47 2023
dap-cpptools.el:27:1: Error: Wrong type argument: stringp, nil
───────────────────────────────────────────────────────────────────────────────
Compiling file /home/vincent/.emacs.d/elpa/dap-mode-20230425.1859/dap-dlv-go.el at Wed Apr 26 10:15:48 2023
dap-dlv-go.el:30:1: Error: Wrong type argument: stringp, nil
───────────────────────────────────────────────────────────────────────────────
Compiling file /home/vincent/.emacs.d/elpa/dap-mode-20230425.1859/dap-ui.el at Wed Apr 26 10:15:56 2023
dap-ui.el:30:1: Error: Wrong type argument: stringp, nil
...
Our CI report without errors, see https://github.com/emacs-lsp/dap-mode/actions/runs/4801176315/jobs/8543058212.
Can you try re-install the package? 🤔
The CI report is for 28.2. I still encountered the errors on 28.1.
Now it occurs on 30.0.50 as well.
My config: https://github.com/seagle0128/.emacs.d/blob/f9116b87501ef8396b55bf471f5cc07250304057/lisp/init-lsp.el#L312.