emacs-livedown icon indicating copy to clipboard operation
emacs-livedown copied to clipboard

Livedown server can't open directories with a space in the name

Open chetstone opened this issue 3 years ago • 0 comments

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.

chetstone avatar Nov 06 '20 21:11 chetstone