emacs-livedown
emacs-livedown copied to clipboard
Livedown server can't open directories with a space in the name
My .md file is in a directory called "CMW affairs". When trying to preview with livedown, I get the following error:
/Volumes/ChesterHome/chet/.nodenv/versions/12.18.2/lib/node_modules/livedown/server.js:85
if (err) throw err
^
[Error: ENOENT: no such file or directory, open '/Volumes/ChesterHome/chet/Documents/CMW'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/Volumes/ChesterHome/chet/Documents/CMW'
}
Process emacs-livedown exited abnormally with code 1
"/Volumes/ChesterHome/chet/Documents/CMW affairs/ComputerSetup.md rendered @ 1337"
Renaming the directory to CMW_affairs works around the problem.