Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--static-dirs is resolved relative to working directory instead of slides source root #498

Open
kylrth opened this issue Oct 29, 2024 · 0 comments

Comments

@kylrth
Copy link

kylrth commented Oct 29, 2024

If I run npx reveal-md /slides --static /static --static-dirs=assets when my current directory is /app, I get the following error:

[Error: ENOENT: no such file or directory, lstat '/app/assets'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/app/assets'
}

This even happens when I do --static-dirs=/slides/assets; the error complains that /app/slides/assets does not exist.

@kylrth kylrth changed the title --static-dirs is computed relative to working directory instead of slides source root --static-dirs is resolved relative to working directory instead of slides source root Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant