Skip to content

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

@chetstone

Description

@chetstone

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions