dap-mode icon indicating copy to clipboard operation
dap-mode copied to clipboard

Compilation errors

Open seagle0128 opened this issue 1 year ago • 3 comments

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  
... 

seagle0128 avatar Apr 26 '23 02:04 seagle0128

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? 🤔

jcs090218 avatar Apr 26 '23 07:04 jcs090218

The CI report is for 28.2. I still encountered the errors on 28.1.

seagle0128 avatar May 01 '23 15:05 seagle0128

Now it occurs on 30.0.50 as well.

My config: https://github.com/seagle0128/.emacs.d/blob/f9116b87501ef8396b55bf471f5cc07250304057/lisp/init-lsp.el#L312.

seagle0128 avatar May 04 '23 02:05 seagle0128